AS400BasicAuthenticationPrincipal, Serializable, Principalpublic class UserProfilePrincipal extends AS400Principal implements AS400BasicAuthenticationPrincipal
AS400Principal,
Serialized Form| Constructor | Description |
|---|---|
UserProfilePrincipal() |
Constructs a UserProfilePrincipal object.
|
UserProfilePrincipal(AS400 system,
String name) |
Constructs a UserProfilePrincipal object.
|
UserProfilePrincipal(String name) |
Constructs a UserProfilePrincipal object with the principal
name set to the supplied argument.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
Compares the specified Object with the credential
for equality.
|
String |
getUserProfileName() |
Returns the user profile name.
|
int |
hashCode() |
Returns a hash code for this principal.
|
void |
initialize(String name) |
Initializes a principal for the local IBM i system
based on the given user profile name.
|
void |
setUserProfileName(String name) |
Sets the user profile name.
|
String |
toString() |
Returns a string representation of the object
|
addPropertyChangeListener, addVetoableChangeListener, getName, getSystem, getUser, removePropertyChangeListener, removeVetoableChangeListener, setSystempublic UserProfilePrincipal()
public UserProfilePrincipal(String name)
name - The user profile name.public boolean equals(Object o)
public String getUserProfileName()
getUserProfileName in interface AS400BasicAuthenticationPrincipalgetUserProfileName in class AS400Principalpublic int hashCode()
public void initialize(String name) throws Exception
initialize in interface AS400BasicAuthenticationPrincipalname - The profile name.Exception - If an exception occurs.public void setUserProfileName(String name) throws PropertyVetoException
name - The profile name.PropertyVetoException - If the change is vetoed.ExtendedIllegalArgumentException - If the provided value exceeds the maximum
allowed length or contains non-valid
characters.Copyright © 2024. All rights reserved.