com.bea.p13n.security
Interface SecurityPolicy
public interface SecurityPolicy
Interface to define a security policy/authorization check. Services that
require some sort of parameterized security check can provide one or
more implementations, and use the appropriate implementation based on
the context of a request.
Method Summary |
boolean |
checkAccess()
Run the rules for this particular implementation and see if
access should be granted. |
checkAccess
boolean checkAccess()
- Run the rules for this particular implementation and see if
access should be granted. It is up to the calling code to handle
a negative result by branching, throwing an exception, etc.
- Returns
- true if access should be granted, false otherwise.
Copyright © 2000, 2009, 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.