Package com.esri.gpt.framework.security.identity

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.changePassword()


  try {
   
    // execute the password change,
    // set success massage and navigation outcome
    IdentityAdapter idAdapter = context.newIdentityAdapter();
    idAdapter.changePassword(context.getUser(),getChangePasswordCriteria());
    msgBroker.addSuccessMessage("identity.changePassword.success");
    setNavigationOutcome(ResourceKeys.NAVIGATIONOUTCOME_HOME_DIRECT);
   
  } catch (CredentialsDeniedException e) {
    msgBroker.addErrorMessage("identity.changePassword.err.old");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.