Class IdPAttributePrincipalValuesFunction
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.authn.context.impl.IdPAttributePrincipalValuesFunction
- All Implemented Interfaces:
Function<Principal,,List<IdPAttributeValue>> Component,DestructableComponent,InitializableComponent
public class IdPAttributePrincipalValuesFunction
extends AbstractInitializableComponent
implements Function<Principal,List<IdPAttributeValue>>
Engine to mine values from
IdPAttributePrincipals.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidsetAttributeName(String attrName) Set the attribute name.Methods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitialized
-
Field Details
-
attributeName
The Attribute Name to look for.
-
-
Constructor Details
-
IdPAttributePrincipalValuesFunction
public IdPAttributePrincipalValuesFunction()
-
-
Method Details
-
setAttributeName
Set the attribute name.- Parameters:
attrName- the attribute name to read values from
-
doInitialize
- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-
apply
@Nullable @Unmodifiable @NotLive public List<IdPAttributeValue> apply(@Nullable Principal principal) - Specified by:
applyin interfaceFunction<Principal,List<IdPAttributeValue>>
-