Package org.sakaiproject.entitybroker.access
-
Interface Summary Interface Description AccessFormats Indicates that entity requests can be handled for certain formats which are indicated
NOTE: By default all entity view requests go through to the available access providers:EntityViewAccessProviderorHttpServletAccessProviderif nothing is specified here or this interface is not implementedAccessViews Indicates that entity requests can be handled for certain views which are indicated
NOTE: By default all entity view requests go through to the available access providers:EntityViewAccessProviderorHttpServletAccessProviderif nothing is specified here or this interface is not implementedEntityViewAccessProvider Represents a bean which is capable of handling access for anEntityView, this replaces theHttpServletAccessProvideras all entity URLs are now being parsed so more information can be provided through theEntityView
This interface would be typically implemented from a tool (webapp) context, and registered with theEntityViewAccessProviderManagerin 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 back to the implementation method
If you want to control the requests which make it through to this by format type you can optionally implementAccessFormatsEntityViewAccessProviderManager Manages all the access providers for the entity views in the system
Use this to register yourself as handling the entity views for a set of entites (based on the prefix) This will be used by the entity broker to determine if anyone is handling entity views for an entity typeHttpServletAccessProvider Deprecated. UseEntityViewAccessProviderinsteadHttpServletAccessProviderManager Deprecated. UseEntityViewAccessProviderManagerinstead