Package org.opencms.configuration
Class CmsSystemConfiguration.ApiAuthorizationConfig
- java.lang.Object
-
- org.opencms.configuration.CmsSystemConfiguration.ApiAuthorizationConfig
-
- Enclosing class:
- CmsSystemConfiguration
public static class CmsSystemConfiguration.ApiAuthorizationConfig extends java.lang.Object
Data for creating API authorization handlers.
-
-
Constructor Summary
Constructors Constructor Description ApiAuthorizationConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillXml(org.dom4j.Element element)
Writes the data back to the given XML element.java.lang.String
getClassName()
Gets the API authorization class name.java.lang.String
getName()
Gets the identifier for the authorization handler.CmsParameterConfiguration
getParams()
Gets the parameters for the handler.void
setClassName(java.lang.String class1)
Sets the class name.void
setName(java.lang.String name)
Sets the name of the handler.void
setParam(java.lang.String key, java.lang.String value)
Sets one parameter.
-
-
-
Constructor Detail
-
ApiAuthorizationConfig
public ApiAuthorizationConfig()
-
-
Method Detail
-
fillXml
public void fillXml(org.dom4j.Element element)
Writes the data back to the given XML element.- Parameters:
element
- an XML element
-
getClassName
public java.lang.String getClassName()
Gets the API authorization class name.- Returns:
- the class name
-
getName
public java.lang.String getName()
Gets the identifier for the authorization handler.- Returns:
- the identifier for the handler
-
getParams
public CmsParameterConfiguration getParams()
Gets the parameters for the handler.- Returns:
- the parameters for the handler
-
setClassName
public void setClassName(java.lang.String class1)
Sets the class name.- Parameters:
class1
- the class name
-
setName
public void setName(java.lang.String name)
Sets the name of the handler.- Parameters:
name
- the handler name
-
setParam
public void setParam(java.lang.String key, java.lang.String value)
Sets one parameter.- Parameters:
key
- the parameter namevalue
- the parameter value
-
-