org.jboss.security.acl
Interface ACLRegistration


public interface ACLRegistration

Interface to register ACLs.

Author:
Stefan Guilhen

Method Summary
 void deRegisterACL(Resource resource)
           Deregisters the ACL associated with the specified resource.
 void registerACL(Resource resource)
           Registers an ACL associated with the specified Resource.
 void registerACL(Resource resource, Collection<ACLEntry> entries)
           Registers an ACL associated with the specified Resource using the supplied entries.
 

Method Detail

registerACL

void registerACL(Resource resource)

Registers an ACL associated with the specified Resource. This usually means interacting with a ACLPersistenceStrategy to persist the created ACL.

Parameters:
resource - the Resource for which an ACL is to be registered.

registerACL

void registerACL(Resource resource,
                 Collection<ACLEntry> entries)

Registers an ACL associated with the specified Resource using the supplied entries.

Parameters:
resource - the Resource for which an ACL is to be registered.
entries - the entries of the ACL being registered.

deRegisterACL

void deRegisterACL(Resource resource)

Deregisters the ACL associated with the specified resource.

Parameters:
resource - the Resource for which an ACL is to be deregistered.


Copyright © 2011 JBoss Inc.. All Rights Reserved.