Class V2CompatibleTemplatedExecutableStatementBuilder
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.idp.attribute.resolver.dc.rdbms.AbstractExecutableStatementBuilder
net.shibboleth.idp.attribute.resolver.dc.rdbms.TemplatedExecutableStatementBuilder
net.shibboleth.idp.attribute.resolver.dc.rdbms.impl.V2CompatibleTemplatedExecutableStatementBuilder
- All Implemented Interfaces:
ExecutableSearchBuilder<ExecutableStatement>
,Component
,DestructableComponent
,InitializableComponent
- Direct Known Subclasses:
TemplatedExecutableStatementBuilder
public class V2CompatibleTemplatedExecutableStatementBuilder
extends TemplatedExecutableStatementBuilder
A
TemplatedExecutableStatementBuilder
which also injects an
V2SAMLProfileRequestContext
into the spring context.-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.idp.attribute.resolver.dc.rdbms.TemplatedExecutableStatementBuilder
TemplatedExecutableStatementBuilder.EscapingReferenceInsertionEventHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addExtraVelocityContext
(org.apache.velocity.VelocityContext velocityContext, AttributeResolutionContext resolutionContext) Method to allow private additions to the velocity context.Methods inherited from class net.shibboleth.idp.attribute.resolver.dc.rdbms.TemplatedExecutableStatementBuilder
doInitialize, getReferenceInsertionEventHandler, getSQLQuery, getTemplate, getTemplateText, getVelocityEngine, isV2Compatibility, merge, setReferenceInsertionEventHandler, setTemplateText, setV2Compatibility, setVelocityEngine
Methods inherited from class net.shibboleth.idp.attribute.resolver.dc.rdbms.AbstractExecutableStatementBuilder
build, getQueryTimeout, setQueryTimeout
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
Field Details
-
log
private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
V2CompatibleTemplatedExecutableStatementBuilder
public V2CompatibleTemplatedExecutableStatementBuilder()
-
-
Method Details
-
addExtraVelocityContext
protected void addExtraVelocityContext(@Nonnull org.apache.velocity.VelocityContext velocityContext, @Nonnull AttributeResolutionContext resolutionContext) Method to allow private additions to the velocity context.- Overrides:
addExtraVelocityContext
in classTemplatedExecutableStatementBuilder
- Parameters:
velocityContext
- where to add the informationresolutionContext
- current resolution context
-