| 
 | Oracle | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.security.principal.WLSAbstractPrincipal
public abstract class WLSAbstractPrincipal
The WLSAbstractPrincipal class is a convenience abstract class
 that implements a 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.
| Constructor Summary | |
|---|---|
| protected  | WLSAbstractPrincipal()Constructs an instance of the WLSAbstractPrincipal. | 
| Method Summary | |
|---|---|
|  boolean | equals(Object another)Compares this principal to the principal in the specified object. | 
|  String | getName()Gets the name of this principal. | 
|  byte[] | getSalt()Gets the principal's salt. | 
|  byte[] | getSignature()Gets the derived principal's trust signature. | 
|  byte[] | getSignedData()Gets the derived principal's signing data, which is used to generate the trust signature. | 
|  int | hashCode()Returns a hashcode for the name of this principal. | 
| protected  void | setName(String name)Sets the name of this principal. | 
|  void | setSalt(byte[] salt)Sets the principal's salt. | 
|  void | setSignature(byte[] signature)Sets the derived principal's trust signature. | 
|  String | toString()Returns a String representation of this principal. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected WLSAbstractPrincipal()
WLSAbstractPrincipal.
| Method Detail | 
|---|
public String getName()
getName in interface PrincipalWLSAbstractPrincipal.setName(java.lang.String)protected void setName(String name)
name - the name of this principal, represented as a String.WLSAbstractPrincipal.getName()public boolean equals(Object another)
equals in interface Principalequals in class Objectanother - the other principal with which to compare this principal.
TRUE if the principal passed in matches the principal 
                      passed in, and FALSE otherwise.public String toString()
toString in interface PrincipaltoString in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic byte[] getSignature()
getSignature in interface WLSPrincipalWLSAbstractPrincipal.setSignature(byte[])public void setSignature(byte[] signature)
setSignature in interface WLSPrincipalsignature - the derived principal's trust signsture, represented as an array of bytes.WLSAbstractPrincipal.getSignature()public byte[] getSalt()
getSalt in interface WLSPrincipalWLSAbstractPrincipal.setSalt(byte[])public void setSalt(byte[] salt)
salt - the principal's salt, represented as an array of bytes.WLSAbstractPrincipal.getSalt()public byte[] getSignedData()
getSignedData in interface WLSPrincipal| 
 | Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, 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. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||