@ThreadSafe public class MockStaticAttributeDefinition extends net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition
| Modifier and Type | Field and Description |
|---|---|
private Logger |
log
Class logger.
|
private IdPAttribute |
value
Static value returned by this definition.
|
| Constructor and Description |
|---|
MockStaticAttributeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected IdPAttribute |
doAttributeDefinitionResolve(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext,
net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) |
protected void |
doInitialize() |
IdPAttribute |
getValue()
Return the static attribute we are returning.
|
void |
setValue(IdPAttribute newAttribute)
Set the attribute value we are returning.
|
doResolve, getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getLogPrefix, getSourceAttributeId, isDependencyOnly, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeIddoDestroy, equals, getActivationCondition, getDependencies, getProfileContextStrategy, hashCode, isPropagateResolutionExceptions, resolve, setActivationCondition, setDependencies, setProfileContextStrategy, setPropagateResolutionExceptionssetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetActivationCondition, getDependencies, isPropagateResolutionExceptions, resolveinitialize, isInitializeddestroy, isDestroyedprivate IdPAttribute value
public void setValue(@Nullable IdPAttribute newAttribute)
newAttribute - what to set.@Nonnull public IdPAttribute getValue()
@Nullable protected IdPAttribute doAttributeDefinitionResolve(@Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext, @Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) throws net.shibboleth.idp.attribute.resolver.ResolutionException
protected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinitionnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.