public final class WLSGroupImpl extends WLSAbstractPrincipal implements WLSGroup
WLSGroupImpl
class is a convenience class that implements a
WLSGroup
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 |
---|
WLSGroupImpl(java.lang.String groupName)
Constructs a principal that represents a WebLogic Server group.
|
WLSGroupImpl(java.lang.String groupName,
boolean createSalt)
Constructs a principal that represents a WebLogic Server group.
|
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 WLSGroupImpl(java.lang.String groupName)
groupName
- the name of the group, represented as a String.public WLSGroupImpl(java.lang.String groupName, boolean createSalt)
groupName
- the name of the group, 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.