public class IdPAttributePrincipalValuesFunction extends AbstractInitializableComponent implements Function<Principal,List<IdPAttributeValue<?>>>
IdPAttributePrincipals.| Modifier and Type | Field and Description |
|---|---|
private String |
attributeName
The Attribute Name to look for.
|
| Constructor and Description |
|---|
IdPAttributePrincipalValuesFunction()
Constructor.
|
IdPAttributePrincipalValuesFunction(String attrName)
Deprecated.
use the property setter instead
|
| Modifier and Type | Method and Description |
|---|---|
List<IdPAttributeValue<?>> |
apply(Principal principal) |
protected void |
doInitialize() |
void |
setAttributeName(String attrName)
Set the attribute name.
|
destroy, doDestroy, initialize, isDestroyed, isInitialized@Deprecated public IdPAttributePrincipalValuesFunction(@Nonnull String attrName)
attrName - the name to filter on.public IdPAttributePrincipalValuesFunction()
public void setAttributeName(@Nonnull String attrName)
attrName - the name to filter on.protected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationException@Nullable public List<IdPAttributeValue<?>> apply(@Nullable Principal principal)
apply in interface Function<Principal,List<IdPAttributeValue<?>>>Copyright © 1999–2017 Shibboleth Consortium. All rights reserved.