Class DefaultAllowedScopeLookupFunction
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.plugin.oidc.op.profile.logic.DefaultAllowedScopeLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,Scope> Component,DestructableComponent,InitializableComponent
public class DefaultAllowedScopeLookupFunction
extends AbstractInitializableComponent
implements Function<ProfileRequestContext,Scope>
Default function for looking up the allowed scope. The scope is obtained from
OIDCMetadataContext if found,
via unregistered client policy instead.- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,Scope> Lookup strategy for fetching the allowed scope for unregistered clients. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) voidSet the lookup strategy for fetching the allowed scope for unregistered clients.Methods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitialized
-
Field Details
-
unregisteredClientAllowedScopeLookupStrategy
Lookup strategy for fetching the allowed scope for unregistered clients.
-
-
Constructor Details
-
DefaultAllowedScopeLookupFunction
public DefaultAllowedScopeLookupFunction()Constructor.
-
-
Method Details
-
setUnregisteredClientAllowedScopeLookupStrategy
public void setUnregisteredClientAllowedScopeLookupStrategy(@Nonnull Function<ProfileRequestContext, Scope> strategy) Set the lookup strategy for fetching the allowed scope for unregistered clients.- Parameters:
strategy- What to set.
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,Scope>
-