|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
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.
Field Summary | |
---|---|
protected boolean |
principalFactoryCreated
|
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 |
getDn()
Gets the principal's distinguished name. |
String |
getGuid()
Gets the principal's unique id. |
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. |
boolean |
isEqualsCaseInsensitive()
|
boolean |
isEqualsCompareDnAndGuid()
|
boolean |
isPrincipalFactoryCreated()
|
protected void |
setDn(String dn)
|
void |
setEqualsCaseInsensitive(boolean equalsCaseInsensitive)
|
void |
setEqualsCompareDnAndGuid(boolean equalsCompareDnAndGuid)
|
protected void |
setGuid(String guid)
|
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 |
Field Detail |
---|
protected boolean principalFactoryCreated
Constructor Detail |
---|
protected WLSAbstractPrincipal()
WLSAbstractPrincipal
.
Method Detail |
---|
public boolean isEqualsCaseInsensitive()
public boolean isEqualsCompareDnAndGuid()
public void setEqualsCaseInsensitive(boolean equalsCaseInsensitive)
public void setEqualsCompareDnAndGuid(boolean equalsCompareDnAndGuid)
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
public String getGuid()
WLSPrincipal
getGuid
in interface WLSPrincipal
protected void setGuid(String guid)
public String getDn()
WLSPrincipal
getDn
in interface WLSPrincipal
protected void setDn(String dn)
public boolean isPrincipalFactoryCreated()
|
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 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |