|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ofbiz.base.config.SecurityConfigUtil
public class SecurityConfigUtil
SecurityConfigUtil
This class allows the loading of a security implementation by a security context name.
The security context name has to be specified in security.properties by the property name:
security.context=
The setup of custom security implementations can be customized in the security.xml file.
| Nested Class Summary | |
|---|---|
static class |
SecurityConfigUtil.SecurityInfo
SecurityInfo |
| Field Summary | |
|---|---|
static java.lang.String |
module
|
static java.lang.String |
SECURITY_CONFIG_XML_FILENAME
The security config filename |
protected static java.util.Map<java.lang.String,SecurityConfigUtil.SecurityInfo> |
securityInfos
|
| Constructor Summary | |
|---|---|
SecurityConfigUtil()
|
|
| Method Summary | |
|---|---|
static SecurityConfigUtil.SecurityInfo |
getSecurityInfo(java.lang.String name)
Returns the security config for a given name. |
static org.w3c.dom.Document |
getXmlDocument()
Returns the XmlDocument for the security config. |
static org.w3c.dom.Element |
getXmlRootElement()
Returns the XmlRootElement for the security config. |
static void |
initialize(org.w3c.dom.Element rootElement)
Initializes the security configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String module
public static final java.lang.String SECURITY_CONFIG_XML_FILENAME
protected static java.util.Map<java.lang.String,SecurityConfigUtil.SecurityInfo> securityInfos
| Constructor Detail |
|---|
public SecurityConfigUtil()
| Method Detail |
|---|
public static org.w3c.dom.Element getXmlRootElement()
throws GenericConfigException
GenericConfigException
public static org.w3c.dom.Document getXmlDocument()
throws GenericConfigException
GenericConfigException
public static void initialize(org.w3c.dom.Element rootElement)
throws GenericConfigException
rootElement -
GenericConfigExceptionpublic static SecurityConfigUtil.SecurityInfo getSecurityInfo(java.lang.String name)
name -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||