T
- Type of component mapped by this mapper@UESComponent public class SecurityRealmMapper<T> extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Set<SecurityRealmMapperEntry<T>> |
allMapperEntries
List of all available mapping entries.
|
private java.lang.String |
componentType
Type of component handled by this mapper.
|
private T |
defaultComponent
Default component.
|
private java.util.Set<SecurityRealmMapperEntry<T>> |
mapperEntries
Filtered list of mapper entries usable by this mapper.
|
private java.util.Set<SecurityRealmMapperKey> |
mapperKeys
List of all available mapping keys.
|
private boolean |
returnAllIfRealmIsUndefined |
Constructor and Description |
---|
SecurityRealmMapper() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SecurityRealmMapperEntry<T>> |
getMapperEntries(java.lang.String securityRealmPattern)
Returns all entries matching given security realm pattern.
|
void |
init()
Iterates through all mapper entries and select only entries mapped by
mapper (based on given component type).
|
void |
returnAllIfRealmIsUndefined(boolean returnAllIfRealmIsUndefined) |
void |
setComponentType(java.lang.String componentType) |
void |
setDefaultComponent(T defaultComponent) |
componentType
- Type of components mapped by this mapper.defaultComponent
- Default component to be returned if none found.returnAllIfRealmIsUndefined
- Sets flag whether mapper should return all components
when given security realm pattern is null or empty (defaults to true)securityRealmPattern
- Security realm pattern