Class PropertiesClientSecretValueResolver
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.PropertiesClientSecretValueResolver
- All Implemented Interfaces:
ClientSecretValueResolver,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,Resolver<String,CriteriaSet>
A client secret value resolver that fetches the values from the given Properties file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private ResourceThe properties resource containing client secret values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidGet the properties resource containing client secret values.resolve(CriteriaSet criteria) resolveSingle(CriteriaSet criteria) voidsetResource(Resource resource) Set the properties resource containing client secret values.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. -
propertiesResource
The properties resource containing client secret values.
-
-
Constructor Details
-
PropertiesClientSecretValueResolver
public PropertiesClientSecretValueResolver()
-
-
Method Details
-
setResource
Set the properties resource containing client secret values.- Parameters:
resource- The properties resource containing client secret values.
-
getResource
Get the properties resource containing client secret values.- Returns:
- The properties resource containing client secret values.
-
doInitialize
- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException
-
doDestroy
protected void doDestroy()- Overrides:
doDestroyin classAbstractInitializableComponent
-