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

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter


    creds.setUsername(getCredentials().getUsername());
    creds.setPassword(getCredentials().getPassword());
    user.setCredentials(creds);
   
    // authenticate the user
    IdentityAdapter idAdapter = context.newIdentityAdapter();
    idAdapter.authenticate(user);
   
    // inform if sdi.suite integration is enabled
    IntegrationContextFactory icf = new IntegrationContextFactory();
    if (icf.isIntegrationEnabled()) {
      IntegrationContext ic = icf.newIntegrationContext();
View Full Code Here


/**
* Instantiates a new Identity adapter.
* @return the new identity adapter
*/
public IdentityAdapter newIdentityAdapter() {
  IdentityAdapter idAdapter = getApplicationConfiguration().newIdentityAdapter();
  idAdapter.setRequestContext(this);
  return idAdapter;
}
View Full Code Here

TOP

Related Classes of com.esri.gpt.framework.security.identity.IdentityAdapter

Copyright © 2018 www.massapicom. 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.