Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sebastienblanc
Last active December 22, 2015 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sebastienblanc/6411121 to your computer and use it in GitHub Desktop.
Save sebastienblanc/6411121 to your computer and use it in GitHub Desktop.
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