|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface that can be implemented by generic gatekeepers, i.e., by gatekeepers whose authorization is computed irrespective of the service being invoked or the collection being operated upon. The gatekeeper is created by dynamically loading the gatekeeper class and calling the following class method:
public static GenericGatekeeper createGatekeeper (
ExtendedProperties propertyList, String argument)
Gatekeeper startup parameters can be obtained from
propertyList. argument is an additional,
gatekeeper-specific startup parameter.
$Log: GenericGatekeeper.java,v $
Revision 1.2 2004/09/21 20:27:00 gjanee
Minor documentation change.
Revision 1.1 2000/05/19 20:44:01 gjanee
Initial revision
| Method Summary | |
void |
destroy()
Frees any resources held by the gatekeeper. |
boolean |
genericAccessAllowed(javax.servlet.ServletRequest request)
Returns true if access is allowed irrespective of
the service being invoked or the collection being operated
upon. |
| Method Detail |
public boolean genericAccessAllowed(javax.servlet.ServletRequest request)
throws MiddlewareException
true if access is allowed irrespective of
the service being invoked or the collection being operated
upon. This method must be multithread-safe.
request - The full request.
true if access is allowed.
BadRequestException - If request is not valid.
InternalErrorException - If the authorization cannot otherwise be determined.
MiddlewareExceptionpublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||