Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.security.principal
Class WLSUserImpl

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

public final class WLSUserImpl
extends WLSAbstractPrincipal
implements WLSUser

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class weblogic.security.principal.WLSAbstractPrincipal
principalFactoryCreated
 
Constructor Summary
WLSUserImpl(String userName)
          Constructs a principal that represents a WebLogic Server user.
 
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

WLSUserImpl

public WLSUserImpl(String userName)
Constructs a principal that represents a WebLogic Server user.

Parameters:
userName - the name of the user, 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, 2011, 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
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02