Index

A C D E G L R S U 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractExpansion - Class in ddf.security.expansion.impl
Base class for all expansion services.
AbstractExpansion() - Constructor for class ddf.security.expansion.impl.AbstractExpansion
 
addExpansionList(String, List<String[]>) - Method in class ddf.security.expansion.impl.AbstractExpansion
Adds a list of rules corresponding to the give key in the expansion map.
addExpansionRule(String, String[]) - Method in class ddf.security.expansion.impl.AbstractExpansion
Adds an individual expansion rule to the existing (or newly created) expansion map.

C

CFG_COMMENT_STR - Static variable in class ddf.security.expansion.impl.AbstractExpansion
String to mark the line as a comment in the configuration file

D

ddf.security.expansion.impl - package ddf.security.expansion.impl
 
DEFAULT_CONFIG_FILE_NAME - Static variable in class ddf.security.expansion.impl.AbstractExpansion
Default filename for the user attribute mapping configuration file.
DEFAULT_VALUE_SEPARATOR - Static variable in class ddf.security.expansion.impl.AbstractExpansion
Default string that separates individual attributes in the replacement strings.
doExpansion(String, String[]) - Method in class ddf.security.expansion.impl.AbstractExpansion
This is the method that will do the actual expansion - interpreting the rules and expanding the values.
doExpansion(String, String[]) - Method in class ddf.security.expansion.impl.RegexExpansion
Performs an expansion using regular expressions for both parts of the rule.
doExpansion(String, String[]) - Method in class ddf.security.expansion.impl.StraightExpansionImpl
Performs an expansion using straight string equality and substitution for both parts of the rule.

E

expand(String, Set<String>) - Method in class ddf.security.expansion.impl.AbstractExpansion
 
expand(Map<String, Set<String>>) - Method in class ddf.security.expansion.impl.AbstractExpansion
 
expansionTable - Variable in class ddf.security.expansion.impl.AbstractExpansion
 

G

getExpansionMap() - Method in class ddf.security.expansion.impl.AbstractExpansion
 

L

loadConfiguration(String) - Method in class ddf.security.expansion.impl.AbstractExpansion
Does the work of reading the configuration file and configuring the expansion map and attribute separator.
LOGGER - Static variable in class ddf.security.expansion.impl.AbstractExpansion
 

R

RegexExpansion - Class in ddf.security.expansion.impl
 
RegexExpansion() - Constructor for class ddf.security.expansion.impl.RegexExpansion
 
removeExpansionRule(String, String[]) - Method in class ddf.security.expansion.impl.AbstractExpansion
Removes a single rule from the expansion map (if it exists).
RULE_SPLIT_REGEX - Static variable in class ddf.security.expansion.impl.AbstractExpansion
Separator for various parts of the rules when presented as a string.
rulePattern - Variable in class ddf.security.expansion.impl.AbstractExpansion
 

S

SEPARATOR_PREFIX - Static variable in class ddf.security.expansion.impl.AbstractExpansion
String to identify the line containing the attribute separator string in the configuration file.
setAttributeSeparator(String) - Method in class ddf.security.expansion.impl.AbstractExpansion
Sets the separator to be used in splitting up replacement strings.
setExpansionFileName(String) - Method in class ddf.security.expansion.impl.AbstractExpansion
Sets the name of the configuration file defining the attribute separator and the mapping of attributes to their expanded values.
setExpansionMap(Map<String, List<String[]>>) - Method in class ddf.security.expansion.impl.AbstractExpansion
Sets the expansion map (which includes a set of keys corresponding to attribute names, each with a corresponding list of rules that apply to that attribute.
setExpansionRules(List<String>) - Method in class ddf.security.expansion.impl.AbstractExpansion
Adds a list of rules provided in String form.
split(String, String) - Method in class ddf.security.expansion.impl.AbstractExpansion
Takes a string with potentially multiple values and splits it into a collection of strings.
StraightExpansionImpl - Class in ddf.security.expansion.impl
 
StraightExpansionImpl() - Constructor for class ddf.security.expansion.impl.StraightExpansionImpl
 

U

update(Map<String, String>) - Method in class ddf.security.expansion.impl.AbstractExpansion
 
A C D E G L R S U 
All Classes and Interfaces|All Packages|Constant Field Values