|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.provider.PrincipalValidatorImpl
public class PrincipalValidatorImpl
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.
WLSPrincipal
Constructor Summary | |
---|---|
PrincipalValidatorImpl()
Constructs an instance of the Principal Validation provider. |
Method Summary | |
---|---|
Class |
getPrincipalBaseClass()
Gets the weblogic.security.provider.WLSPrincipal base class. |
boolean |
sign(Principal principal)
Signs the principal to assure trust. |
boolean |
validate(Principal principal)
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 |
---|
public PrincipalValidatorImpl()
Method Detail |
---|
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.provider.WLSPrincipal
base class.
getPrincipalBaseClass
in interface PrincipalValidator
weblogic.security.provider.WLSPrincipal
.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |