public interface EntityViewAccessProvider
EntityView,
this replaces the HttpServletAccessProvider as all entity URLs are now being parsed
so more information can be provided through the EntityViewEntityViewAccessProviderManager in a context loader listenerSecurityException during the course of this method, the
access will be directed to a login page or authentication method before being redirected back to
the implementation methodAccessFormats| Modifier and Type | Method and Description |
|---|---|
void |
handleAccess(EntityView view,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Make and return the data responses for this type of data provider for a specific entity view
and entity reference (contained within the entity view),
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
NOTE: If you decide that you cannot handle this access request for any reason you can either throw an EntityException to specify why OR throw a general Exception,
both will kill the request entirely but the general exception will pass through the system
while the EntityException will produce a handled result |
void handleAccess(EntityView view, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
EntityException to specify why OR throw a general Exception,
both will kill the request entirely but the general exception will pass through the system
while the EntityException will produce a handled resultview - an entity view, should contain all the information related to the incoming entity URLreq - 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 outputstreamFormatUnsupportedException - if the format requested in the view is not supportedEntityException - if there is a request processing/handling failureCopyright © 2003–2021 Sakai Project. All rights reserved.