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.provider
Class PrincipalValidatorImpl

java.lang.Object
  extended by weblogic.security.provider.PrincipalValidatorImpl

All Implemented Interfaces:
PrincipalValidator

Deprecated.

public class PrincipalValidatorImpl
extends Object
implements PrincipalValidator

The runtime class for the WebLogic Principal Validation provider, which signs and validates WLSPrincipals. You can either make this your Authentication provider's Principal Validation provider, or extend this class and then make the extended class your Principal Validation provider.

This class is deprecated, please use com.bea.common.security.provider.PrincipalValidatorImpl.

See Also:
WLSPrincipal

Method Summary
 Class getPrincipalBaseClass()
          Deprecated. Gets the weblogic.security.principal.WLSPrincipal base class.
 boolean sign(Principal principal)
          Deprecated. Signs the principal to assure trust.
 boolean validate(Principal principal)
          Deprecated. Verifies that the principal has not been altered since it was signed.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

validate

public boolean validate(Principal principal)
                 throws SecurityException
Deprecated. 
Description copied from interface: PrincipalValidator
Verifies that the principal has not been altered since it was signed.
Specified by:
validate in interface PrincipalValidator
Parameters:
principal - the principal to validate.
Returns:
TRUE if the principal has been validated, FALSE if the principal has not been validated.
Throws:
SecurityException - if the signature is invalid.

sign

public boolean sign(Principal principal)
Deprecated. 
Description copied from interface: PrincipalValidator
Signs the principal to assure trust.
Specified by:
sign in interface PrincipalValidator
Parameters:
principal - the principal to sign.
Returns:
TRUE if the principal has been signed, FALSE if the principal has not been signed.

getPrincipalBaseClass

public Class getPrincipalBaseClass()
Deprecated. 
Gets the weblogic.security.principal.WLSPrincipal base class.
Specified by:
getPrincipalBaseClass in interface PrincipalValidator
Returns:
weblogic.security.principal.WLSPrincipal.

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