org.apache.qpid.server.security.access.config
Class PlainConfiguration
java.lang.Object
org.apache.qpid.server.security.access.config.AbstractConfiguration
org.apache.qpid.server.security.access.config.PlainConfiguration
- All Implemented Interfaces:
- ConfigurationFile
public class PlainConfiguration
- extends AbstractConfiguration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMENT
public static final Character COMMENT
CONTINUATION
public static final Character CONTINUATION
GROUP
public static final String GROUP
- See Also:
- Constant Field Values
ACL
public static final String ACL
- See Also:
- Constant Field Values
CONFIG
public static final String CONFIG
- See Also:
- Constant Field Values
UNRECOGNISED_INITIAL_MSG
public static final String UNRECOGNISED_INITIAL_MSG
- See Also:
- Constant Field Values
NOT_ENOUGH_TOKENS_MSG
public static final String NOT_ENOUGH_TOKENS_MSG
- See Also:
- Constant Field Values
NUMBER_NOT_ALLOWED_MSG
public static final String NUMBER_NOT_ALLOWED_MSG
- See Also:
- Constant Field Values
CANNOT_LOAD_MSG
public static final String CANNOT_LOAD_MSG
- See Also:
- Constant Field Values
PREMATURE_CONTINUATION_MSG
public static final String PREMATURE_CONTINUATION_MSG
- See Also:
- Constant Field Values
PREMATURE_EOF_MSG
public static final String PREMATURE_EOF_MSG
- See Also:
- Constant Field Values
PARSE_TOKEN_FAILED_MSG
public static final String PARSE_TOKEN_FAILED_MSG
- See Also:
- Constant Field Values
CONFIG_NOT_FOUND_MSG
public static final String CONFIG_NOT_FOUND_MSG
- See Also:
- Constant Field Values
NOT_ENOUGH_GROUP_MSG
public static final String NOT_ENOUGH_GROUP_MSG
- See Also:
- Constant Field Values
NOT_ENOUGH_ACL_MSG
public static final String NOT_ENOUGH_ACL_MSG
- See Also:
- Constant Field Values
NOT_ENOUGH_CONFIG_MSG
public static final String NOT_ENOUGH_CONFIG_MSG
- See Also:
- Constant Field Values
BAD_ACL_RULE_NUMBER_MSG
public static final String BAD_ACL_RULE_NUMBER_MSG
- See Also:
- Constant Field Values
PROPERTY_KEY_ONLY_MSG
public static final String PROPERTY_KEY_ONLY_MSG
- See Also:
- Constant Field Values
PROPERTY_NO_EQUALS_MSG
public static final String PROPERTY_NO_EQUALS_MSG
- See Also:
- Constant Field Values
PROPERTY_NO_VALUE_MSG
public static final String PROPERTY_NO_VALUE_MSG
- See Also:
- Constant Field Values
PlainConfiguration
public PlainConfiguration(File file)
load
public RuleSet load()
throws ConfigurationException
- Description copied from interface:
ConfigurationFile
- Load this configuration file's contents into a
RuleSet
.
- Specified by:
load
in interface ConfigurationFile
- Overrides:
load
in class AbstractConfiguration
- Throws:
ConfigurationException
- if the configuration file has errors.
toObjectProperties
protected org.apache.qpid.server.security.access.ObjectProperties toObjectProperties(List<String> args)
throws ConfigurationException
- Converts a
List
of "name", "=", "value" tokens into a Map
.
- Throws:
ConfigurationException
toPluginProperties
protected Map<String,Boolean> toPluginProperties(List<String> args)
throws ConfigurationException
- Converts a
List
of "name", "=", "value" tokens into a Map
.
- Throws:
ConfigurationException
getLine
protected int getLine()
Licensed to the Apache Software Foundation