Class AttributePrincipalLookupFunction
java.lang.Object
net.shibboleth.idp.attribute.resolver.context.navigate.AbstractAttributeResolutionLookupFunction<String>
net.shibboleth.idp.attribute.resolver.context.navigate.AttributePrincipalLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,
,String> ContextDataLookupFunction<ProfileRequestContext,
String>
public class AttributePrincipalLookupFunction
extends AbstractAttributeResolutionLookupFunction<String>
A function that returns
AttributeResolutionContext.getPrincipal()
if available from a
AttributeResolutionContext
obtained via a lookup function defined on the base class.
If a specific setting is unavailable, a null value is returned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Method that performs eventual lookup of target data.Methods inherited from class net.shibboleth.idp.attribute.resolver.context.navigate.AbstractAttributeResolutionLookupFunction
apply, setAttributeResolutionContextLookupStrategy
-
Constructor Details
-
AttributePrincipalLookupFunction
public AttributePrincipalLookupFunction()
-
-
Method Details
-
doApply
Method that performs eventual lookup of target data.- Specified by:
doApply
in classAbstractAttributeResolutionLookupFunction<String>
- Parameters:
input
- the context to examine- Returns:
- the data to return
-