|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.principal.WLSAbstractPrincipal
The WLSAbstractPrincipal
class is a convenience abstract class
that implements a principal whose name field will be signed by the
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 boolean equals(Object another)
equals
in interface Principal
another
- 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 getName()
getName
in interface Principal
setName(java.lang.String)
public byte[] getSalt()
getSalt
in interface WLSPrincipal
setSalt(byte[])
public byte[] getSignature()
getSignature
in interface WLSPrincipal
setSignature(byte[])
public byte[] getSignedData()
getSignedData
in interface WLSPrincipal
public int hashCode()
hashCode
in interface Principal
protected void setName(String name)
name
- the name of this principal, represented as a String.getName()
public void setSalt(byte[] salt)
salt
- the principal's salt, represented as an array of bytes.getSalt()
public void setSignature(byte[] signature)
setSignature
in interface WLSPrincipal
signature
- the derived principal's trust signsture, represented as an array of bytes.getSignature()
public String toString()
toString
in interface Principal
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |