|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
weblogic.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 |
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) |
void |
setIdentityDomain(String identityDomain) Sets the identity domain 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 |
Methods inherited from interface java.security.Principal |
---|
implies |
Methods inherited from interface weblogic.security.principal.IdentityDomainPrincipal |
---|
getIdentityDomain |
Field Detail |
---|
protected boolean principalFactoryCreated
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()
public void setIdentityDomain(String identityDomain)
identityDomain
- the identity domain of this principal, represented as a String. Set only if not previously setWLSAbstractPrincipal.getIdentityDomain()
|
Copyright 1996, 2015, 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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |