Class SectorIdentifierLookupFunction
- 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.SectorIdentifierLookupFunction
-
- 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 SectorIdentifierLookupFunction 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 sector identifier obtained via a lookup function. The value is host component of registered sector_identifier_uri or host component of the registered redirect_uri in case there is no sector_identifier_uri. In the latter case there must be only on registered redirect_uri or null is returned.If a specific setting is unavailable, a null value is returned.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.private Function<org.opensaml.profile.context.ProfileRequestContext,OIDCMetadataContext>oidcMetadataContextLookupStrategyStrategy function to lookup OIDC metadata context .
-
Constructor Summary
Constructors Constructor Description SectorIdentifierLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(org.opensaml.profile.context.ProfileRequestContext input)voidsetOIDCMetadataContextLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,OIDCMetadataContext> strategy)Set the lookup strategy to use to locate theOIDCMetadataContext.-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
oidcMetadataContextLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,OIDCMetadataContext> oidcMetadataContextLookupStrategy
Strategy function to lookup OIDC metadata context .
-
-
Method Detail
-
setOIDCMetadataContextLookupStrategy
public void setOIDCMetadataContextLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,OIDCMetadataContext> strategy)Set the lookup strategy to use to locate theOIDCMetadataContext.- Parameters:
strategy- lookup function to use
-
-