Class ProfileResponderIdLookupFunction
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
-
- net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
-
- org.geant.idpextension.oidc.profile.context.navigate.ProfileResponderIdLookupFunction
-
- All Implemented Interfaces:
Function<org.opensaml.profile.context.ProfileRequestContext,String>,net.shibboleth.utilities.java.support.component.Component,net.shibboleth.utilities.java.support.component.DestructableComponent,net.shibboleth.utilities.java.support.component.IdentifiableComponent,net.shibboleth.utilities.java.support.component.IdentifiedComponent,net.shibboleth.utilities.java.support.component.InitializableComponent,org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.ProfileRequestContext,String>
public class ProfileResponderIdLookupFunction extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent implements org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.ProfileRequestContext,String>
A function that returns responder id based on profile.
-
-
Field Summary
Fields Modifier and Type Field Description private StringdefaultResponderDefault responder value, usually entity id.private org.slf4j.LoggerlogClass logger.private Map<String,String>profileRespondersMapping from profile id to responder value.
-
Constructor Summary
Constructors Constructor Description ProfileResponderIdLookupFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(org.opensaml.profile.context.ProfileRequestContext input)protected voiddoInitialize()voidsetDefaultResponder(String resp)Set default responder value, usually entity id.voidsetProfileResponders(Map<net.shibboleth.idp.profile.config.ProfileConfiguration,String> resp)Set mapping from profile to responder value.-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
getId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
-
-
-
Method Detail
-
setDefaultResponder
public void setDefaultResponder(@Nonnull String resp)Set default responder value, usually entity id.- Parameters:
resp- default responder value, usually entity id
-
setProfileResponders
public void setProfileResponders(@Nullable Map<net.shibboleth.idp.profile.config.ProfileConfiguration,String> resp)Set mapping from profile to responder value.- Parameters:
resp- mapping from profile to responder value
-
doInitialize
protected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Overrides:
doInitializein classnet.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
-