Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Detail

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2008, 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.