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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfillXml(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.voidsetClassName(String class1) Sets the class name.voidSets the name of the handler.voidSets 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
-