|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.service.authorization.NullAuthorizer
A dummy implementation of the AccessAuthorizer interface
which authorizes access to all resources within any context.
| Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
| Constructor Summary | |
NullAuthorizer()
Construct a new authorizer. |
|
NullAuthorizer(java.lang.String config)
Construct a new authorizer. |
|
| Method Summary | |
boolean |
authorizeActivity(java.lang.String resourceID,
Activity activity,
SecurityContext context)
Always returns true. |
boolean |
authorizeResource(java.lang.String resource,
SecurityContext context)
Always returns true. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
| Constructor Detail |
public NullAuthorizer()
public NullAuthorizer(java.lang.String config)
config - configuration parameter| Method Detail |
public boolean authorizeResource(java.lang.String resource,
SecurityContext context)
true.
authorizeResource in interface AccessAuthorizerresource - resource to be accessedcontext - security context of the request
public boolean authorizeActivity(java.lang.String resourceID,
Activity activity,
SecurityContext context)
true.
authorizeActivity in interface AccessAuthorizerresourceID - resource identifieractivity - activity object to be accessedcontext - context of the request
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||