Interface HttpServletAccessProvider
-
public interface HttpServletAccessProviderDeprecated.UseEntityViewAccessProviderinsteadRepresents a bean which is capable of handling direct HTTP access for an entity. This interface would be typically implemented from a tool (webapp) context, and registered with theHttpServletAccessProviderManagerin a context loader listener. If the implementation throws aSecurityExceptionduring the course of this method, the access will be directed to a login page or authentication method before being redirected to the tool.- Author:
- Antranig Basman (antranig@caret.cam.ac.uk), Aaron Zeckoski (aaron@caret.cam.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidhandleAccess(HttpServletRequest req, HttpServletResponse res, EntityReference ref)Deprecated.UseEntityViewAccessProviderinstead
-
-
-
Method Detail
-
handleAccess
void handleAccess(HttpServletRequest req, HttpServletResponse res, EntityReference ref)
Deprecated.UseEntityViewAccessProviderinsteadMake and return the data responses for this type of data provider for a specific entity reference, use the request to get any additional sent in information you may need or want and use the response to hold the output you generate- Parameters:
ref- an entity referencereq- the servlet request (available in case you need to get anything out of it)res- the servlet response, put the correct data response into the outputstream- Throws:
FormatUnsupportedException- if the format requested in the view is not supportedEntityException- if there is a request processing/handling failure
-
-