Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security.provider
Class PrincipalValidatorImpl

    java.lang.Object
      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 `WLSPrincipal`s. 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`

Constructor Summary
`PrincipalValidatorImpl()` Deprecated. Constructs an instance of the Principal Validation provider.

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`

Constructor Detail

### PrincipalValidatorImpl

    public PrincipalValidatorImpl()

  Deprecated.
  Constructs an instance of the Principal Validation provider.

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`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD