public class PrincipalValidatorImpl extends Object implements PrincipalValidator
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.
WLSPrincipal
Modifier and Type | Method and Description |
---|---|
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.
|
public boolean validate(Principal principal) throws SecurityException
PrincipalValidator
validate
in interface PrincipalValidator
principal
- the principal to validate.TRUE
if the principal has been validated, FALSE
if the principal has not been validated.SecurityException
- if the signature is invalid.public boolean sign(Principal principal)
PrincipalValidator
sign
in interface PrincipalValidator
principal
- the principal to sign.TRUE
if the principal has been signed, FALSE
if the principal has not been signed.public Class getPrincipalBaseClass()
weblogic.security.principal.WLSPrincipal
base class.getPrincipalBaseClass
in interface PrincipalValidator
weblogic.security.principal.WLSPrincipal
.