Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
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

    public 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
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved