class DefaultJwtAuthenticationService implements JwtAuthenticationService {

	@Override
	public LoginDto createJwtAuthenticationAndAuthenticate(LoginDto loginDto, IdmIdentityDto identity, String moduleId) {
		IdmTokenDto preparedToken = new IdmTokenDto();
		preparedToken.setModuleId(moduleId);
		return createJwtAuthenticationAndAuthenticate(loginDto, identity, preparedToken);
	}

}