|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.user.UserCredentials
| Field Summary | |
static UserCredentials |
UNAUTHENTICATED_USER_CREDENTIALS
Complete empty user credentials for un-authenticated user permissions. |
| Constructor Summary | |
UserCredentials()
Default Constructor. |
|
UserCredentials(boolean acceptsNullAttributes)
Constructor indicating that this instance will accept null values as valid attibutes (Default is false). |
|
UserCredentials(UserCredentials credentials)
Copy Constructor. |
|
UserCredentials(UserCredentials credentials,
boolean acceptsNullAttributes)
Copy Constructor. |
|
UserCredentials(UserTypeCode userTypeCode)
User type code constructor. |
|
| Method Summary | |
boolean |
areCredentialsComplete()
|
static boolean |
areUnauthenticated(UserCredentials creds)
Returns true if the given credentials match the static UNAUTHENTICATED_USER_CREDENTIALS settings. |
boolean |
compareCredentials(UserCredentials credentials)
Compares the given credentials to this instance. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAccountName()
|
java.lang.String |
getSourceDirectory()
|
GUID |
getUserGuid()
|
java.lang.String |
getUserId()
|
UserTypeCode |
getUserTypeCode()
|
int |
hashCode()
|
boolean |
isReadOnly()
|
void |
mergeCredentials(UserCredentials credentials)
Merges the given credentials into this instance, adopting credential attributes from the given object where no matching ones are set for this object. |
void |
setAccountName(java.lang.String accountName)
|
void |
setReadOnly()
Sets the attributes of this object are non-editable. |
void |
setSourceDirectory(java.lang.String sourceDirectory)
|
void |
setUserGuid(GUID userGuid)
|
void |
setUserTypeCode(UserTypeCode userTypeCode)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final UserCredentials UNAUTHENTICATED_USER_CREDENTIALS
| Constructor Detail |
public UserCredentials()
public UserCredentials(boolean acceptsNullAttributes)
acceptsNullAttributes - Flag that determines whether null values are valid values.public UserCredentials(UserCredentials credentials)
credentials - The credentials to copy.
public UserCredentials(UserCredentials credentials,
boolean acceptsNullAttributes)
credentials - The credentials to copy.acceptsNullAttributes - Flag that determines whether null values are valid values.public UserCredentials(UserTypeCode userTypeCode)
userTypeCode - The user type code instance for this credentials instance.| Method Detail |
public static final boolean areUnauthenticated(UserCredentials creds)
UNAUTHENTICATED_USER_CREDENTIALS settings.
creds - The credentials to test.
public final java.lang.String getAccountName()
public final void setAccountName(java.lang.String accountName)
accountName - The accountName to set.public final java.lang.String getSourceDirectory()
public final void setSourceDirectory(java.lang.String sourceDirectory)
sourceDirectory - The sourceDirectory to set.public final java.lang.String getUserId()
public final GUID getUserGuid()
public final void setUserGuid(GUID userGuid)
userGuid - The userGuid to set.public final UserTypeCode getUserTypeCode()
public final void setUserTypeCode(UserTypeCode userTypeCode)
userTypeCode - The userTypeCode to set.public boolean areCredentialsComplete()
public void mergeCredentials(UserCredentials credentials)
throws java.lang.RuntimeException
credentials - The given credentials to merge.
java.lang.RuntimeException - Thrown if the given credentials' attributes do not match any
attributes already set on this object.public boolean compareCredentials(UserCredentials credentials)
credentials - The credentials to compare.
public final void setReadOnly()
public final boolean isReadOnly()
public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)public final int hashCode()
Object.hashCode()public final java.lang.String toString()
Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||