|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.as400.security.auth.UserProfilePrincipal
The UserProfilePrincipal class represents an AS/400 user profile.
AS400Principal
Constructor Summary | |
UserProfilePrincipal()
Constructs a UserProfilePrincipal object. |
|
UserProfilePrincipal(AS400 system,
java.lang.String name)
Constructs a UserProfilePrincipal object. |
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 AS/400 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 |
Constructor Detail |
public UserProfilePrincipal()
public UserProfilePrincipal(AS400 system, java.lang.String name)
The system and name properties are set to the specified values.
system
- The AS/400 associated with the principal.name
- The user profile name.Method Detail |
public boolean equals(java.lang.Object o)
o
- Object to be compared for equality.public java.lang.String getUserProfileName()
public int hashCode()
public void initialize(java.lang.String name) throws java.lang.Exception
name
- 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |