Class ResolverServiceClientSecretValueResolver
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.oidc.metadata.impl.AbstractClientSecretValueResolver
net.shibboleth.oidc.metadata.impl.ResolverServiceClientSecretValueResolver
- All Implemented Interfaces:
ClientSecretValueResolver,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,Resolver<String,CriteriaSet>
A client secret value resolver that fetches the values from the given
AttributeResolver service.
This class builds a new AttributeResolutionContext and sets the client secret reference key value to
AttributeResolutionContext.setPrincipal(String) and its related entity ID to
AttributeResolutionContext.setAttributeRecipientID(String). The resolution context does not have any
parent contexts.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of attribute IDs that may contain the resolved client secret values.private final org.slf4j.LoggerClass logger.private ReloadableService<AttributeResolver>The attribute resolver service used for the client secret value resolution. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidGet the list of attribute IDs that may contain the resolved client secret values.Get the attribute resolver service used for the client secret value resolution.resolve(CriteriaSet criteria) resolveSingle(CriteriaSet criteria) voidsetAttributeIds(List<String> ids) Set the list of attribute IDs that may contain the resolved client secret values.voidSet the attribute resolver service used for the client secret value resolution.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, 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
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
service
The attribute resolver service used for the client secret value resolution. -
attributeIds
The list of attribute IDs that may contain the resolved client secret values.
-
-
Constructor Details
-
ResolverServiceClientSecretValueResolver
public ResolverServiceClientSecretValueResolver()Constructor.
-
-
Method Details
-
getAttributeResolver
Get the attribute resolver service used for the client secret value resolution.- Returns:
- The attribute resolver service used for the client secret value resolution.
-
setAttributeIds
Set the list of attribute IDs that may contain the resolved client secret values.- Parameters:
ids- The list of attribute IDs that may contain the resolved client secret values.
-
getAttributeIds
Get the list of attribute IDs that may contain the resolved client secret values.- Returns:
- The list of attribute IDs that may contain the resolved client secret values.
-
doDestroy
protected void doDestroy()- Overrides:
doDestroyin classAbstractInitializableComponent
-
doInitialize
- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException