# com.bea.p13n.security
SecurityPolicy Interface

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

`public boolean` | `checkAccess`() Run the rules for this particular implementation and see if access should be granted.

## Method Detail

### checkAccess() Method

    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.