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