|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface between the ADL collection service and gatekeepers that control access to the drivers that implement the service on behalf of collections. The ADL collection service creates the gatekeeper for a driver by dynamically loading the gatekeeper class and calling the following class method:
public static CollectionDriverGatekeeper createGatekeeper (
ExtendedProperties propertyList, String argument)
Gatekeeper startup parameters can be obtained from
propertyList. argument is an additional,
gatekeeper- and/or collection-specific startup parameter.
$Log: CollectionDriverGatekeeper.java,v $
Revision 1.2 2004/09/21 18:22:27 gjanee
Minor documentation change.
Revision 1.1 2000/04/04 17:46:41 gjanee
Initial revision
| Method Summary | |
boolean |
collectionDriverAllowed(javax.servlet.ServletRequest request,
java.lang.String collection)
Returns true if the request is authorized, that
is, if the client is allowed to view the collection-level
metadata for a collection. |
void |
destroy()
Frees any resources held by the gatekeeper. |
| Method Detail |
public boolean collectionDriverAllowed(javax.servlet.ServletRequest request,
java.lang.String collection)
throws MiddlewareException
true if the request is authorized, that
is, if the client is allowed to view the collection-level
metadata for a collection. The gatekeeper can assume that
collection names the collection for which the
gatekeeper was created. This method must be multithread-safe.
request - The full request.collection - The collection name, e.g., "adl_catalog".
true if the request is authorized.
BadRequestException - If request is not valid.
InternalErrorException - If the authorization cannot otherwise be determined.
MiddlewareExceptionCollectionServicepublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||