|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface between the ADL metadata service and the gatekeeper that controls access to the service. The ADL metadata service creates the gatekeeper by dynamically loading the gatekeeper class and calling the following class method:
public static MetadataServiceGatekeeper createGatekeeper (
ExtendedProperties propertyList, String argument)
Gatekeeper startup parameters can be obtained from
propertyList. argument is an additional,
gatekeeper-specific startup parameter.
$Log: MetadataServiceGatekeeper.java,v $
Revision 1.3 2004/09/21 18:22:27 gjanee
Minor documentation change.
Revision 1.2 2003/05/09 22:13:38 gjanee
Added support for arbitrary, per-collection and per-holding
metadata views. Specifically, changed the view
argument data type from an enumeration to a string. Added method
viewsServiceAllowed.
Revision 1.1 1999/08/24 17:01:36 gjanee
Initial revision
| Method Summary | |
void |
destroy()
Frees any resources held by the gatekeeper. |
boolean |
metadataServiceAllowed(javax.servlet.ServletRequest request,
java.lang.String view)
Returns true if the request is authorized, that
is, if the client is allowed to view metadata reports of type
view irrespective of collection and holding. |
boolean |
viewsServiceAllowed(javax.servlet.ServletRequest request)
Returns true if the request is authorized, that
is, if the client is allowed to retrieve supported view lists
irrespective of collection and holding. |
| Method Detail |
public boolean metadataServiceAllowed(javax.servlet.ServletRequest request,
java.lang.String view)
throws MiddlewareException
true if the request is authorized, that
is, if the client is allowed to view metadata reports of type
view irrespective of collection and holding. This
method must be multithread-safe.
request - The full request.view - The metadata view requested, e.g., "adl:bucket".
true if the request is authorized.
BadRequestException - If request is not valid.
InternalErrorException - If the authorization cannot otherwise be determined.
MiddlewareExceptionMetadataService
public boolean viewsServiceAllowed(javax.servlet.ServletRequest request)
throws MiddlewareException
true if the request is authorized, that
is, if the client is allowed to retrieve supported view lists
irrespective of collection and holding. This method must be
multithread-safe.
request - The full request.
true if the request is authorized.
BadRequestException - If request is not valid.
InternalErrorException - If the authorization cannot otherwise be determined.
MiddlewareExceptionMetadataServicepublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||