public class ShibbolethFilteringContext extends Object
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.
|
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–2014. All rights reserved.