Skip navigation links

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


weblogic.security.principal
Interface WLSPrincipal

All Superinterfaces:
Principal, Serializable
All Known Implementing Classes:
WLSAbstractPrincipal, WLSGroupImpl, WLSUserImpl

public interface WLSPrincipal
extends Principal, Serializable

The WLSPrincipal interface is a convenience interface that defines 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. Then implement the required methods.

Note: Use of this class is not required by WebLogic Server. It is simply a convenience interface.

See Also:
WLSAbstractPrincipal

Method Summary
abstract  String getDn()
          Gets the principal's distinguished name.
abstract  String getGuid()
          Gets the principal's unique id.
abstract  byte[] getSalt()
          Gets the principal's salt.
abstract  byte[] getSignature()
          Gets the derived principal's trust signature.
abstract  byte[] getSignedData()
          Gets the derived principal's signing data, which is used to generate the trust signature.
abstract  void setSignature(byte[] signature)
          Sets the derived principal's trust signature.

 

Methods inherited from interface java.security.Principal
equals, getName, hashCode, implies, toString

 

Method Detail

getSignature

byte[] getSignature()
Gets the derived principal's trust signature.
Returns:
the derived principal's trust signature, represented as an array of bytes.
See Also:
WLSPrincipal.setSignature(byte[])

setSignature

void setSignature(byte[] signature)
Sets the derived principal's trust signature.
Parameters:
signature - the derived principal's trust signsture, represented as an array of bytes.
See Also:
WLSPrincipal.getSignature()

getSignedData

byte[] getSignedData()
Gets the derived principal's signing data, which is used to generate the trust signature.
Returns:
the derived principal's signing data, represented as a sequence of bytes in the platform's default charset.

getSalt

byte[] getSalt()
Gets the principal's salt.
Returns:
the principal's salt, represented as an array of bytes.

getDn

String getDn()
Gets the principal's distinguished name.
Returns:
the principal's distinguished name.

getGuid

String getGuid()
Gets the principal's unique id.
Returns:
the principal's unique id.

Skip navigation links

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