org.codehaus.plexus.security.global
Class AllAccessResourceController

java.lang.Object
  extended byorg.codehaus.plexus.security.global.AllAccessResourceController
All Implemented Interfaces:
ResourceController

public class AllAccessResourceController
extends java.lang.Object
implements ResourceController

AllAccessResourceController is an implementation of ResourceController that gives access to any resource for any credential for any Entity.

Since:
Jan 10, 2003
Author:
Dan Diephouse

Field Summary
static java.lang.String ROLE
           
 
Fields inherited from interface org.codehaus.plexus.security.ResourceController
SELECTOR_ROLE
 
Constructor Summary
AllAccessResourceController()
           
 
Method Summary
 boolean isAuthorized(java.lang.Object entity, java.lang.Object resource)
          A pseudo implementation that returns true for every instance, granting Entitys all access.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static java.lang.String ROLE
Constructor Detail

AllAccessResourceController

public AllAccessResourceController()
Method Detail

isAuthorized

public boolean isAuthorized(java.lang.Object entity,
                            java.lang.Object resource)
A pseudo implementation that returns true for every instance, granting Entitys all access.

Specified by:
isAuthorized in interface ResourceController
Parameters:
entity -
resource -
Returns:
boolean
See Also:
org.apache.fulcrum.jasf.ResourceAccessController#isAuthorized(Object, Object)