|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessControl
Interface for implementation of access control for all parts of the Portal
(including the initialization). When configured in the servlet init parameter
"accesscontrol.class", an instance of this class is instantiated and used for
every access of the PortalServlet's methods GenericServlet.init()
,
HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
and GenericServlet.destroy()
. When the secured servlet is destroyed,
the access control instance is destroyed itself, by calling the
destroy()
method.
Method Summary | |
---|---|
void |
destroy()
Destroy the access control instance, free all resources. |
void |
init(javax.servlet.ServletConfig config)
Initialize the access control instance. |
java.lang.Object |
runPrivileged(java.security.PrivilegedAction action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Run the given action with the necessary privileges. |
Method Detail |
---|
void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
config
- servlet configuration
javax.servlet.ServletException
java.lang.Object runPrivileged(java.security.PrivilegedAction action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
GenericServlet.init()
(after this instance
was initialized)HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
GenericServlet.destroy()
(before this
instance is destroyed)
action
- privileged actionrequest
- servlet request, when a request is handled, null for the
initializationresponse
- servlet response, when a request is handled, null for the
initialization
javax.servlet.ServletException
void destroy()
GenericServlet.destroy()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |