|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface between the ADL unreference service and the gatekeeper that controls access to the service. The ADL unreference service creates the gatekeeper by dynamically loading the gatekeeper class and calling the following class method:
public static UnreferenceServiceGatekeeper createGatekeeper (
ExtendedProperties propertyList, String argument)
Gatekeeper startup parameters can be obtained from
propertyList. argument is an additional,
gatekeeper-specific startup parameter.
$Log: UnreferenceServiceGatekeeper.java,v $
Revision 1.2 2004/09/21 18:22:27 gjanee
Minor documentation change.
Revision 1.1 2001/09/04 18:01:29 gjanee
Initial revision
| Method Summary | |
void |
destroy()
Frees any resources held by the gatekeeper. |
boolean |
unreferenceServiceAllowed(javax.servlet.ServletRequest request,
java.lang.String collection)
Returns true if the request is authorized, that
is, if the client is allowed to unreference the specified
remote collection. |
| Method Detail |
public boolean unreferenceServiceAllowed(javax.servlet.ServletRequest request,
java.lang.String collection)
throws MiddlewareException
true if the request is authorized, that
is, if the client is allowed to unreference the specified
remote collection. This method must be multithread-safe.
request - The full request.collection - The local 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.
MiddlewareExceptionUnreferenceServicepublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||