|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.security.credentials.Credentials com.esri.gpt.framework.security.credentials.UsernamePasswordCredentials
public class UsernamePasswordCredentials
Stores username/password credentials.
Constructor Summary | |
---|---|
UsernamePasswordCredentials()
Default constructor. |
|
UsernamePasswordCredentials(String username,
String password)
Constructs with a supplied username and password. |
Method Summary | |
---|---|
String |
encryptLdapPassword(String algorithm)
Encrypts a password according to the algorithm specified. |
void |
generatePassword()
Generates and sets random password. |
String |
getConfirmationPassword()
Gets the confirmation password. |
String |
getDistinguishedName()
Gets the distinguished name for this user. |
String |
getPassword()
Gets the password. |
String |
getTargetedGroupDN()
Gets the targeted group DN. |
String |
getUsername()
Gets the username. |
void |
setConfirmationPassword(String password)
Sets the confirmation password. |
void |
setDistinguishedName(String name)
Sets the distinguished name for this user. |
void |
setPassword(String password)
Sets the password. |
void |
setTargetedGroupDN(String groupDN)
Sets the targeted group DN. |
void |
setUsername(String username)
Sets the username. |
Methods inherited from class com.esri.gpt.framework.security.credentials.Credentials |
---|
getUsernamePasswordCredentials, hasUsernamePasswordCredentials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsernamePasswordCredentials()
public UsernamePasswordCredentials(String username, String password)
username
- the usernamepassword
- the passwordMethod Detail |
---|
public String getConfirmationPassword()
public void setConfirmationPassword(String password)
password
- the confirmation passwordpublic String getDistinguishedName()
public void setDistinguishedName(String name)
name
- the distinguished namepublic String getPassword()
public void setPassword(String password)
password
- the passwordpublic String getTargetedGroupDN()
public void setTargetedGroupDN(String groupDN)
groupDN
- the targettd group DNpublic String getUsername()
public void setUsername(String username)
username
- the usernamepublic String encryptLdapPassword(String algorithm)
algorithm
- the algorithm (SHA or MD5)
public void generatePassword()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |