PrincipalValidatorpublic class PrincipalValidatorImpl extends java.lang.Object implements PrincipalValidator
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.WLSPrincipal| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Class |
getPrincipalBaseClass() |
Gets the
weblogic.security.principal.WLSPrincipal base class. |
boolean |
sign(java.security.Principal principal) |
Signs the principal to assure trust.
|
boolean |
validate(java.security.Principal principal) |
Verifies that the principal has not been altered since it was signed.
|
public boolean validate(java.security.Principal principal)
throws java.lang.SecurityException
PrincipalValidatorvalidate in interface PrincipalValidatorprincipal - the principal to validate.TRUE if the principal has been validated, FALSE
if the principal has not been validated.java.lang.SecurityException - if the signature is invalid.public boolean sign(java.security.Principal principal)
PrincipalValidatorsign in interface PrincipalValidatorprincipal - the principal to sign.TRUE if the principal has been signed, FALSE
if the principal has not been signed.public java.lang.Class getPrincipalBaseClass()
weblogic.security.principal.WLSPrincipal base class.getPrincipalBaseClass in interface PrincipalValidatorweblogic.security.principal.WLSPrincipal.