Package com.netscape.cms.servlet.common
Class ServletUtils
- java.lang.Object
-
- com.netscape.cms.servlet.common.ServletUtils
-
public class ServletUtils extends java.lang.ObjectUtility class- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTHZ_MGR_BASICstatic java.lang.StringAUTHZ_MGR_LDAPstatic java.lang.StringAUTHZ_SRC_LDAPstatic java.lang.StringAUTHZ_SRC_TYPEstatic java.lang.StringAUTHZ_SRC_XMLstatic org.slf4j.Loggerloggerstatic java.lang.StringPROP_ACLstatic java.lang.StringPROP_AUTHZ_MGR
-
Constructor Summary
Constructors Constructor Description ServletUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddACLInfo(AuthzSubsystem authz, java.lang.String aclMethod, java.lang.String aclInfo)static java.lang.StringgetACLMethod(java.lang.String aclInfo, java.lang.String authzMgr, java.lang.String id)static java.lang.StringinitializeAuthz(javax.servlet.ServletConfig sc, AuthzSubsystem authz, java.lang.String id)
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
AUTHZ_SRC_LDAP
public static final java.lang.String AUTHZ_SRC_LDAP
- See Also:
- Constant Field Values
-
AUTHZ_SRC_TYPE
public static final java.lang.String AUTHZ_SRC_TYPE
- See Also:
- Constant Field Values
-
AUTHZ_SRC_XML
public static final java.lang.String AUTHZ_SRC_XML
- See Also:
- Constant Field Values
-
PROP_AUTHZ_MGR
public static final java.lang.String PROP_AUTHZ_MGR
- See Also:
- Constant Field Values
-
PROP_ACL
public static final java.lang.String PROP_ACL
- See Also:
- Constant Field Values
-
AUTHZ_MGR_BASIC
public static final java.lang.String AUTHZ_MGR_BASIC
- See Also:
- Constant Field Values
-
AUTHZ_MGR_LDAP
public static final java.lang.String AUTHZ_MGR_LDAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeAuthz
public static java.lang.String initializeAuthz(javax.servlet.ServletConfig sc, AuthzSubsystem authz, java.lang.String id) throws javax.servlet.ServletException- Throws:
javax.servlet.ServletException
-
addACLInfo
public static void addACLInfo(AuthzSubsystem authz, java.lang.String aclMethod, java.lang.String aclInfo) throws EBaseException
- Throws:
EBaseException
-
getACLMethod
public static java.lang.String getACLMethod(java.lang.String aclInfo, java.lang.String authzMgr, java.lang.String id) throws EBaseException- Throws:
EBaseException
-
-