|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface between the ADL cancel service and the gatekeeper that controls access to the service. The ADL cancel service creates the gatekeeper by dynamically loading the gatekeeper class and calling the following class method:
public static CancelServiceGatekeeper createGatekeeper (
ExtendedProperties propertyList, String argument)
Gatekeeper startup parameters can be obtained from
propertyList. argument is an additional,
gatekeeper-specific startup parameter.
$Log: CancelServiceGatekeeper.java,v $
Revision 1.2 2004/09/21 18:22:27 gjanee
Minor documentation change.
Revision 1.1 2000/01/30 19:57:06 gjanee
Initial revision
| Method Summary | |
boolean |
cancelServiceAllowed(javax.servlet.ServletRequest request,
edu.ucsb.adl.middleware.ResultAccumulator accumulator)
Returns true if the request is authorized, that
is, if the client is allowed to destroy the given result
accumulator. |
void |
destroy()
Frees any resources held by the gatekeeper. |
| Method Detail |
public boolean cancelServiceAllowed(javax.servlet.ServletRequest request,
edu.ucsb.adl.middleware.ResultAccumulator accumulator)
throws MiddlewareException
true if the request is authorized, that
is, if the client is allowed to destroy the given result
accumulator. This method must be multithread-safe.
request - The full request.accumulator - The result accumulator in question.
true if the request is authorized.
BadRequestException - If request is not valid.
InternalErrorException - If the authorization cannot otherwise be determined.
MiddlewareExceptionCancelServicepublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||