Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.security.principal
Class WLSGroupImpl

java.lang.Object
  extended by weblogic.security.principal.WLSAbstractPrincipal
      extended by weblogic.security.principal.WLSGroupImpl
All Implemented Interfaces:
Serializable, Principal, WLSPrincipal, WLSGroup

public final class WLSGroupImpl
extends WLSAbstractPrincipal
implements WLSGroup

The 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.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class weblogic.security.principal.WLSAbstractPrincipal
principalFactoryCreated
 
Constructor Summary
WLSGroupImpl(String groupName)
          Constructs a principal that represents a WebLogic Server group.
 
Method Summary
 boolean equals(Object another)
          Compares this principal to the principal in the specified object.
 
Methods inherited from class weblogic.security.principal.WLSAbstractPrincipal
getDn, getGuid, getName, getSalt, getSignature, getSignedData, hashCode, isEqualsCaseInsensitive, isEqualsCompareDnAndGuid, isPrincipalFactoryCreated, setDn, setEqualsCaseInsensitive, setEqualsCompareDnAndGuid, setGuid, setName, setSalt, setSignature, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
getName, hashCode, toString
 

Constructor Detail

WLSGroupImpl

public WLSGroupImpl(String groupName)
Constructs a principal that represents a WebLogic Server group.

Parameters:
groupName - the name of the group, represented as a String.

Method Detail

equals

public boolean equals(Object another)
Compares this principal to the principal in the specified object.

Specified by:
equals in interface Principal
Overrides:
equals in class WLSAbstractPrincipal
Parameters:
another - the other principal with which to compare this principal.

Returns:
TRUE if the principal passed in matches the principal passed in, and FALSE otherwise.


Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02