|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.ibm.as400.security.auth.AS400Principal
|
+--com.ibm.as400.security.auth.UserProfilePrincipal
The UserProfilePrincipal class represents an iSeries system user profile.
AS400Principal,
Serialized Form| Constructor Summary | |
UserProfilePrincipal()
Constructs a UserProfilePrincipal object. |
|
UserProfilePrincipal(AS400 system,
java.lang.String name)
Constructs a UserProfilePrincipal object. |
|
UserProfilePrincipal(java.lang.String name)
Constructs a UserProfilePrincipal object with the principal name set to the supplied argument. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compares the specified Object with the credential for equality. |
java.lang.String |
getUserProfileName()
Returns the user profile name. |
int |
hashCode()
Returns a hash code for this principal. |
void |
initialize(java.lang.String name)
Initializes a principal for the local iSeries system based on the given user profile name. |
void |
setUserProfileName(java.lang.String name)
Sets the user profile name. |
java.lang.String |
toString()
Returns a string representation of the object |
| Methods inherited from class com.ibm.as400.security.auth.AS400Principal |
addPropertyChangeListener, addVetoableChangeListener, getName, getSystem, getUser, removePropertyChangeListener, removeVetoableChangeListener, setSystem |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UserProfilePrincipal()
public UserProfilePrincipal(java.lang.String name)
name - The user profile name.
public UserProfilePrincipal(AS400 system,
java.lang.String name)
The system and name properties are set to the specified values.
system - The server associated with the principal.name - The user profile name.| Method Detail |
public boolean equals(java.lang.Object o)
equals in interface java.security.Principalequals in class java.lang.Objecto - Object to be compared for equality.
public java.lang.String getUserProfileName()
getUserProfileName in interface AS400BasicAuthenticationPrincipalgetUserProfileName in class AS400Principalpublic int hashCode()
hashCode in interface java.security.PrincipalhashCode in class java.lang.Object
public void initialize(java.lang.String name)
throws java.lang.Exception
initialize in interface AS400BasicAuthenticationPrincipalname - The profile name.
java.lang.Exception - If an exception occurs.
public void setUserProfileName(java.lang.String name)
throws java.beans.PropertyVetoException
name - The profile name.
java.beans.PropertyVetoException - If the change is vetoed.
ExtendedIllegalArgumentException - If the provided value exceeds the maximum
allowed length or contains non-valid
characters.public java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||