|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrincipalValidator
The PrincipalValidator
interface 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.
Method Summary | |
---|---|
abstract Class |
getPrincipalBaseClass() Gets the base Principal class validated and signed by this Principal Validation provider. |
abstract boolean |
sign(Principal principal) Signs the principal to assure trust. |
abstract boolean |
validate(Principal principal) Verifies that the principal has not been altered since it was signed. |
Method Detail |
---|
boolean validate(Principal principal) throws SecurityException
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.boolean sign(Principal principal)
principal
- the principal to sign.TRUE
if the principal has been signed, FALSE
if the principal has not been signed.Class getPrincipalBaseClass()
Principal
class validated and signed by this Principal Validation provider.Principal
class.
|
Copyright 1996, 2015, 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. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |