public final class WLSUserImpl extends WLSAbstractPrincipal implements WLSUser
WLSUserImpl
is a convenience class that implements a WLSUser
principal whose name field will be signed by the
weblogic.security.provider.PrincipalValidatorImpl
class. To use
this class, you should make the PrincipalValidatorImpl
class
the runtime class for your Principal Validation provider, or extend that class
and make the extended class your Principal Validation provider.Note: Use of this class is not required by WebLogic Server. It is simply a convenience class.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
principalFactoryCreated
Constructor and Description |
---|
WLSUserImpl(java.lang.String userName)
Constructs a principal that represents a WebLogic Server user.
|
WLSUserImpl(java.lang.String userName,
boolean createSalt)
Constructs a principal that represents a WebLogic Server user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object another)
Compares this principal to the principal in the specified object.
|
getDn, getGuid, getIdentityDomain, getName, getSalt, getSignature, getSignedData, getSignedDataCaseSensitive, hashCode, isEqualsCaseInsensitive, isEqualsCompareDnAndGuid, isPrincipalFactoryCreated, setDn, setEqualsCaseInsensitive, setEqualsCompareDnAndGuid, setGuid, setIdentityDomain, setName, setSalt, setSignature, toString
private static final long serialVersionUID
public WLSUserImpl(java.lang.String userName)
userName
- the name of the user, represented as a String.public WLSUserImpl(java.lang.String userName, boolean createSalt)
userName
- the name of the user, represented as a String.createSalt
- whether to create a salt when instantiated.public boolean equals(java.lang.Object another)
equals
in interface java.security.Principal
equals
in class WLSAbstractPrincipal
another
- the other principal with which to compare this principal.TRUE
if the principal passed in matches the principal
passed in, and FALSE
otherwise.