com.softwareag.centrasite.appl.framework.validation.acl
Class RoleAclProvider

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.validation.acl.AbstractAclProvider
      extended by com.softwareag.centrasite.appl.framework.validation.acl.RoleAclProvider
All Implemented Interfaces:
AclProvider

public class RoleAclProvider
extends AbstractAclProvider

This ACL provider is used to grant or deny access to roles. The provider assumes, that the RoleAclProvider.RoleAclContext is implementing RoleAclProvider.RoleAclContext.


Nested Class Summary
static interface RoleAclProvider.RoleAclContext
          Interface, which the AclContext must implement to be applicable.
 
Constructor Summary
RoleAclProvider()
           
 
Method Summary
 boolean isMatching(AclContext pContext, java.lang.String pRule)
          Called to query, whether the provider grants or denies access to the object, which is specified by the given context.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.validation.acl.AbstractAclProvider
getNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleAclProvider

public RoleAclProvider()
Method Detail

isMatching

public boolean isMatching(AclContext pContext,
                          java.lang.String pRule)
                   throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Description copied from interface: AclProvider
Called to query, whether the provider grants or denies access to the object, which is specified by the given context.

Parameters:
pContext - The object, which specifies the access requester.
pRule - The rule, which is being applied.
Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException