|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An authorization interface which authorizes access to resources and activities within a given security context.
Implementations of this interface must provide a
constructor AccessAuthorizer(java.lang.String)
. This constructor
is expected by the factory which creates the class by reflection. The string
is specified by the service administrator at start up time. It may contain
configuration information specific to the authorizer class, for example the
location of a configuration file.
Method Summary | |
boolean |
authorizeActivity(java.lang.String resourceID,
Activity activity,
SecurityContext context)
Authorizes access for the given activity and resource in the specified security context. |
boolean |
authorizeResource(java.lang.String resourceID,
SecurityContext context)
Authorizes access to the given resource within the specified security context. |
Method Detail |
public boolean authorizeResource(java.lang.String resourceID, SecurityContext context)
resourceID
- resource to be accessedcontext
- security context of the request
public boolean authorizeActivity(java.lang.String resourceID, Activity activity, SecurityContext context)
resourceID
- 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 |