throw new IllegalStateException("Realm Service is null.");
}
return this.realmService;
=======
@Override
<BUG>public AuthenticationContext authenticate(String username, char[] password) throws IdentityStoreException,

AuthenticationFailure {
Claim usernameClaim = new Claim(IdentityMgtConstants.CLAIM_ROOT_DIALECT, IdentityMgtConstants.USERNAME_CLAIM,</BUG>
username);

throw new IllegalStateException("Realm Service is null.");
}
return this.realmService;
=======
@Override
public UUFUser authenticate(String username, char[] password) throws UserPortalUIException {
try {
Claim usernameClaim = new Claim(IdentityMgtConstants.CLAIM_ROOT_DIALECT, IdentityMgtConstants.USERNAME_CLAIM,
username);
