Coalevo Logo

net.coalevo.security.model
Interface AuthorizationRule


public interface AuthorizationRule

Defines an AuthorizationRule.

Version:
1.0.0 (10/02/2009)
Author:
Dieter Wimberger (wimpi)

Method Summary
 boolean isAuthorized(Authorizations a)
          Checks if the given Authorizations are sufficient by evaluation of this AuthorizationRule.
 java.lang.String toSARL()
          Returns the SARL statement that represents this AuthorizationRule.
 

Method Detail

isAuthorized

boolean isAuthorized(Authorizations a)
Checks if the given Authorizations are sufficient by evaluation of this AuthorizationRule.

Parameters:
a - an Authorizations set.
Returns:
true if authorized, false otherwise.

toSARL

java.lang.String toSARL()
Returns the SARL statement that represents this AuthorizationRule.


Coalevo Logo

(c) 2004-2009 VFI (http://www.vfi.or.at)