Package com.netscape.cms.servlet.admin
Class PublisherAdminServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.netscape.cms.servlet.admin.AdminServlet
-
- com.netscape.cms.servlet.admin.PublisherAdminServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class PublisherAdminServlet extends AdminServlet
A class representing an publishing servlet for the Publishing subsystem. This servlet is responsible to serve configuration requests for the Publishing subsystem.- Version:
- $Revision$, $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NOMAPPER
static java.lang.String
PROP_AUTHORITY
-
Fields inherited from class com.netscape.cms.servlet.admin.AdminServlet
auditor, AUTHZ_CONFIG_STORE, AUTHZ_MGR_BASIC, AUTHZ_MGR_LDAP, AUTHZ_RES_NAME, AUTHZ_SRC_LDAP, AUTHZ_SRC_TYPE, AUTHZ_SRC_XML, CERT_ATTR, ERROR, mAclMethod, mAuthz, mConfig, mLogger, mOp, mToken, PROP_ACL, PROP_AUTHZ_MGR, PROP_ID, RESTART, SUCCESS
-
-
Constructor Summary
Constructors Constructor Description PublisherAdminServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMapperPluginName(ILdapMapper mapper)
java.lang.String
getPublisherPluginName(ILdapPublisher pub)
java.lang.String
getRulePluginName(ILdapRule rule)
java.lang.String
getServletInfo()
Returns serlvet information.void
init(javax.servlet.ServletConfig config)
Initializes this servlet.void
log(int level, java.lang.String msg)
logs an entry in the log file.void
service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Serves HTTP admin request.-
Methods inherited from class com.netscape.cms.servlet.admin.AdminServlet
audit, audit, auditParams, auditSubjectID, authenticate, authorize, authorize, commit, convertStringArrayToNVPairs, getAuthCreds, getClassByNameAsExtendedPluginInfo, getConfig, getLocale, getParameter, listConfig, outputHttpParameters, sendResponse, setConfig, URLdecode
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Field Detail
-
PROP_AUTHORITY
public static final java.lang.String PROP_AUTHORITY
- See Also:
- Constant Field Values
-
NOMAPPER
public static final java.lang.String NOMAPPER
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
Initializes this servlet.- Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classAdminServlet
- Throws:
javax.servlet.ServletException
-
getServletInfo
public java.lang.String getServletInfo()
Returns serlvet information.- Specified by:
getServletInfo
in interfacejavax.servlet.Servlet
- Overrides:
getServletInfo
in classjavax.servlet.GenericServlet
-
service
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
Serves HTTP admin request.- Overrides:
service
in classAdminServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
-
getMapperPluginName
public java.lang.String getMapperPluginName(ILdapMapper mapper)
-
getRulePluginName
public java.lang.String getRulePluginName(ILdapRule rule)
-
getPublisherPluginName
public java.lang.String getPublisherPluginName(ILdapPublisher pub)
-
log
public void log(int level, java.lang.String msg)
logs an entry in the log file.
-
-