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