Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AuthenticationResult result = this.identity.login();
LOGGER.info("Login result : " + result);
if(result.equals(AuthenticationResult.SUCCESS)){
saleAgent = (SaleAgent) BasicModel.getAgent(identityManager, user.getLoginName());
}
else {
LOGGER.severe("Login failed !");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment