Class ProfileResponderIdLookupFunction
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.ProfileResponderIdLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,String> Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,ContextDataLookupFunction<ProfileRequestContext,String>
public class ProfileResponderIdLookupFunction
extends AbstractIdentifiableInitializableComponent
implements ContextDataLookupFunction<ProfileRequestContext,String>
A function that returns responder id based on profile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringDefault responder value, usually entity id.Mapping from profile id to responder value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) protected voidvoidsetDefaultResponder(String resp) Set default responder value, usually entity id.voidSet mapping from profile to responder value.Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getId
-
Field Details
-
defaultResponder
Default responder value, usually entity id. -
profileResponders
Mapping from profile id to responder value.
-
-
Constructor Details
-
ProfileResponderIdLookupFunction
public ProfileResponderIdLookupFunction()
-
-
Method Details
-
setDefaultResponder
Set default responder value, usually entity id.- Parameters:
resp- default responder value, usually entity id
-
setProfileResponders
Set mapping from profile to responder value.- Parameters:
resp- mapping from profile to responder value
-
doInitialize
- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,String>
-