|
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 Principal
WLSAbstractPrincipal.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 Principal
equals
in class Object
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 toString()
toString
in interface Principal
toString
in class Object
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
public byte[] getSignature()
getSignature
in interface WLSPrincipal
WLSAbstractPrincipal.setSignature(byte[])
public void setSignature(byte[] signature)
setSignature
in interface WLSPrincipal
signature
- the derived principal's trust signsture, represented as an array of bytes.WLSAbstractPrincipal.getSignature()
public byte[] getSalt()
getSalt
in interface WLSPrincipal
WLSAbstractPrincipal.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/E12839_01/web.1111 Copyright 1996,2009, 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. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |