public class ShibbolethFilteringContext extends Object
| Modifier and Type | Field and Description |
|---|---|
private SAMLProfileRequestContext |
attributeRequestContext
The attribute request.
|
private Map<String,List<MatchFunctor>> |
denyValueRules
Deny value rules that apply to the attribute identified by the map key.
|
private Map<String,Collection> |
retainedValues
Retained values for a given attribute.
|
private Map<String,BaseAttribute> |
unfilteredAttributes
Attributes being filtered.
|
| Constructor and Description |
|---|
ShibbolethFilteringContext(Map<String,BaseAttribute> attributes,
SAMLProfileRequestContext context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SAMLProfileRequestContext |
getAttributeRequestContext()
Gets the context for the attribute request.
|
Map<String,List<MatchFunctor>> |
getDenyValueRules()
Gets the deny value rules that apply to the attribute.
|
Collection |
getRetainedValues(String attributeId,
boolean prepopulate)
Gets the values, for the given attribute, that have no yet been filtered out.
|
Map<String,BaseAttribute> |
getUnfilteredAttributes()
Gets the attributes being filtered.
|
private SAMLProfileRequestContext attributeRequestContext
private Map<String,BaseAttribute> unfilteredAttributes
private Map<String,Collection> retainedValues
private Map<String,List<MatchFunctor>> denyValueRules
public ShibbolethFilteringContext(Map<String,BaseAttribute> attributes, SAMLProfileRequestContext context)
attributes - unfiltered attribute setcontext - attribute request contextpublic SAMLProfileRequestContext getAttributeRequestContext()
public Map<String,BaseAttribute> getUnfilteredAttributes()
public Collection getRetainedValues(String attributeId, boolean prepopulate)
attributeId - attribute to retrieve the values forprepopulate - whether to pre-populate the retained value list from the unfiltered value list if there is
currently no set of values retained for the given attributepublic Map<String,List<MatchFunctor>> getDenyValueRules()
Copyright © 1999-2015. All Rights Reserved.