© 2004 BEA Systems, Inc.

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.

© 2004 BEA Systems, Inc.

Copyright © 2004 BEA Systems, Inc. All Rights Reserved