public class RegistryAdminServlet extends AdminServlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMMA |
static java.lang.String |
INVALID_POLICY_IMPL_CONFIG |
static java.lang.String |
INVALID_POLICY_IMPL_ID |
static java.lang.String |
INVALID_POLICY_IMPL_OP |
static java.lang.String |
INVALID_POLICY_INST_ID |
static java.lang.String |
INVALID_POLICY_INSTANCE_CONFIG |
static java.lang.String |
INVALID_POLICY_SCOPE |
static java.lang.String |
MISSING_POLICY_IMPL_CLASS |
static java.lang.String |
MISSING_POLICY_IMPL_ID |
static java.lang.String |
MISSING_POLICY_INST_ID |
static java.lang.String |
MISSING_POLICY_ORDERING |
static java.lang.String |
NYI |
static java.lang.String |
PROP_AUTHORITY |
static java.lang.String |
PROP_PREDICATE |
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 and Description |
|---|
RegistryAdminServlet()
Constructs administration servlet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
deleteImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected java.lang.String |
getNonNull(java.lang.String s) |
void |
getProfileImplConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
java.lang.String |
getServletInfo()
Returns serlvet information.
|
void |
getSupportedConstraintPolicies(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
init(javax.servlet.ServletConfig config)
Initializes this servlet.
|
void |
listImpls(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Lists all registered profile impementations
|
void |
processImplMgmt(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Process Policy Implementation Management.
|
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Serves HTTP admin request.
|
audit, auditParams, auditSubjectID, authenticate, authorize, authorize, commit, convertStringArrayToNVPairs, getAuthCreds, getClassByNameAsExtendedPluginInfo, getConfig, getLocale, getParameter, listConfig, outputHttpParameters, sendResponse, setConfig, URLdecodedoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final java.lang.String PROP_AUTHORITY
public static final java.lang.String PROP_PREDICATE
public static java.lang.String INVALID_POLICY_SCOPE
public static java.lang.String INVALID_POLICY_IMPL_OP
public static java.lang.String NYI
public static java.lang.String INVALID_POLICY_IMPL_CONFIG
public static java.lang.String INVALID_POLICY_INSTANCE_CONFIG
public static java.lang.String MISSING_POLICY_IMPL_ID
public static java.lang.String MISSING_POLICY_IMPL_CLASS
public static java.lang.String INVALID_POLICY_IMPL_ID
public static java.lang.String MISSING_POLICY_INST_ID
public static java.lang.String INVALID_POLICY_INST_ID
public static java.lang.String COMMA
public static java.lang.String MISSING_POLICY_ORDERING
public RegistryAdminServlet()
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class AdminServletjavax.servlet.ServletExceptionpublic java.lang.String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletpublic void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
service in class AdminServletjavax.servlet.ServletExceptionjava.io.IOExceptionpublic void processImplMgmt(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic void addImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic void deleteImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic void listImpls(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic void getSupportedConstraintPolicies(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic void getProfileImplConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionprotected java.lang.String getNonNull(java.lang.String s)