org.edg.security.authorization.admin
Class GUIPoliciesServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.edg.security.authorization.admin.GUIPoliciesServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class GUIPoliciesServlet
- extends javax.servlet.http.HttpServlet
Web Interface for the Authorization Manager.
This class implements a servlet that shows the list of
Policies, AttributeRepositories, Translations and AttributeMaps
defined in the configuration file of the AuthorizationManager.
- Author:
- Gian Luca Volpato
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Generates the html response to be sent back to the client. |
void |
init()
Initializes the GUIPoliciesServlet.
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POLICY_ELEMENT
public static final java.lang.String POLICY_ELEMENT
- See Also:
- Constant Field Values
TRANSLATION_ELEMENT
public static final java.lang.String TRANSLATION_ELEMENT
- See Also:
- Constant Field Values
NAME_ATTRIBUTE
public static final java.lang.String NAME_ATTRIBUTE
- See Also:
- Constant Field Values
TYPE_ATTRIBUTE
public static final java.lang.String TYPE_ATTRIBUTE
- See Also:
- Constant Field Values
MODIFY_ATTRIBUTE
public static final java.lang.String MODIFY_ATTRIBUTE
- See Also:
- Constant Field Values
DEFAULT_ATTRIBUTE
public static final java.lang.String DEFAULT_ATTRIBUTE
- See Also:
- Constant Field Values
GUIPoliciesServlet
public GUIPoliciesServlet()
init
public void init()
throws javax.servlet.ServletException
- Initializes the GUIPoliciesServlet.
Fetches the configuration parameters from the configuration file.
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
- In case of an initialization error
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Generates the html response to be sent back to the client.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- The HttpServletRequestresponse
- The HttpServletResponse
- Throws:
javax.servlet.ServletException
java.io.IOException