|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.security.identity.IdentityAdapter
com.esri.gpt.framework.security.identity.local.SimpleIdentityAdapter
public class SimpleIdentityAdapter
Identity adapter for a simple installation of one known user (the administrator).
| Constructor Summary | |
|---|---|
SimpleIdentityAdapter()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addUserToRole(User user,
String role)
Adds user to role. |
void |
authenticate(User user)
Authenticates a user. |
void |
changePassword(User user,
ChangePasswordCriteria criteria)
Changes the password for a user. |
Users |
readGroupMembers(String groupDN)
Reads the members of a group. |
void |
readUserGroups(User user)
Reads the groups to which a user belongs. |
void |
readUserProfile(User user)
Reads the profile attributes for a user. |
User |
recoverPassword(RecoverPasswordCriteria criteria)
Recovers a user password. |
void |
registerUser(User user)
Registers a new user. |
void |
updateUserProfile(User user)
Updates the profile attributes for a user. |
| Methods inherited from class com.esri.gpt.framework.security.identity.IdentityAdapter |
|---|
addAttribute, addUserToGroup, deleteUser, getApplicationConfiguration, getRequestContext, readGroups, readUsers, removeAttribute, removeUserFromGroup, setApplicationConfiguration, setRequestContext, throwNotSupportedException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleIdentityAdapter()
| Method Detail |
|---|
public void addUserToRole(User user,
String role)
throws CredentialPolicyException,
IdentityException,
NamingException,
SQLException
addUserToRole in class IdentityAdapteruser - the subject userrole - the subject role
CredentialPolicyException - if the credentials are invalid
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
public void authenticate(User user)
throws CredentialsDeniedException,
IdentityException,
SQLException
authenticate in class IdentityAdapteruser - the subject user
CredentialsDeniedException - if credentials are denied
IdentityException - if a system error occurs preventing authentication
SQLException - if a database communication exception occurs
public void changePassword(User user,
ChangePasswordCriteria criteria)
throws CredentialsDeniedException,
CredentialPolicyException,
IdentityException,
NamingException,
SQLException
changePassword in class IdentityAdapteruser - the subject usercriteria - the criteria associated with the password change
CredentialPolicyException - if the credentials are invalid
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
CredentialsDeniedException
public Users readGroupMembers(String groupDN)
throws IdentityException,
NamingException,
SQLException
readGroupMembers in class IdentityAdaptergroupDN - the distinguished name for the group
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
public void readUserGroups(User user)
throws IdentityException,
NamingException,
SQLException
readUserGroups in class IdentityAdapteruser - the subject user
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
public void readUserProfile(User user)
throws IdentityException,
NamingException,
SQLException
readUserProfile in class IdentityAdapteruser - the subject user
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
public User recoverPassword(RecoverPasswordCriteria criteria)
throws IdentityException,
NamingException,
SQLException
recoverPassword in class IdentityAdaptercriteria - the criteria associated with the password recovery
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
public void registerUser(User user)
throws CredentialPolicyException,
IdentityException,
NamingException,
SQLException
registerUser in class IdentityAdapteruser - the subject user
CredentialPolicyException - if the credentials are invalid
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
public void updateUserProfile(User user)
throws CredentialPolicyException,
IdentityException,
NamingException,
SQLException
updateUserProfile in class IdentityAdapteruser - the subject user
CredentialPolicyException - if the credentials are invalid
IdentityException - if a system error occurs preventing the action
NamingException - if an LDAP naming exception occurs
SQLException - if a database communication exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||