public interface PrincipalValidator
PrincipalValidatorinterface defines the methods that custom Principal Validation providers must implement to support principal trust relationships within the context of the Weblogic Server environment. Principal Validation providers are used with Authentication providers to provide additional security protections for the principals contained within the subject.
|Modifier and Type||Method and Description|
Gets the base
Signs the principal to assure trust.
Verifies that the principal has not been altered since it was signed.
boolean validate(java.security.Principal principal) throws java.lang.SecurityException
principal- the principal to validate.
TRUEif the principal has been validated,
FALSEif the principal has not been validated.
java.lang.SecurityException- if the signature is invalid.
boolean sign(java.security.Principal principal)
principal- the principal to sign.
TRUEif the principal has been signed,
FALSEif the principal has not been signed.
Principalclass validated and signed by this Principal Validation provider.