Class SAML1ScopedStringAttributeTranscoder
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.attribute.transcoding.AbstractAttributeTranscoder<AttributeType>
net.shibboleth.idp.saml.attribute.transcoding.AbstractSAMLAttributeTranscoder<AttributeDesignator,EncodedType>
net.shibboleth.idp.saml.attribute.transcoding.AbstractSAML1AttributeTranscoder<ScopedStringAttributeValue>
net.shibboleth.idp.saml.attribute.transcoding.impl.SAML1ScopedStringAttributeTranscoder
- All Implemented Interfaces:
AttributeTranscoder<AttributeDesignator>,SAML1AttributeTranscoder<ScopedStringAttributeValue>,Component,DestructableComponent,InitializableComponent
public class SAML1ScopedStringAttributeTranscoder
extends AbstractSAML1AttributeTranscoder<ScopedStringAttributeValue>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.idp.saml.attribute.transcoding.AbstractSAML1AttributeTranscoder
AbstractSAML1AttributeTranscoder.NamingFunction -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.static final StringName of XML attribute when scopeType property is "attribute".static final StringScope delimiter when scopeType property is "inline".static final StringOne of "inline" or "attribute", controlling the style of XML encoding.Fields inherited from interface net.shibboleth.idp.saml.attribute.transcoding.SAML1AttributeTranscoder
PROP_ENCODE_TYPE, PROP_NAME, PROP_NAMESPACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanEncodeValue(IdPAttribute attribute, IdPAttributeValue value) protected IdPAttributeValuedecodeValue(ProfileRequestContext profileRequestContext, AttributeDesignator attribute, TranscodingRule rule, XMLObject value) protected XMLObjectencodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, ScopedStringAttributeValue value) Methods inherited from class net.shibboleth.idp.saml.attribute.transcoding.AbstractSAML1AttributeTranscoder
buildAttribute, buildIdPAttribute, getEncodedName, getEncodedType, getValuesMethods inherited from class net.shibboleth.idp.saml.attribute.transcoding.AbstractSAMLAttributeTranscoder
doDecode, doEncode, getStringValueMethods inherited from class net.shibboleth.idp.attribute.transcoding.AbstractAttributeTranscoder
decode, encode, setActivationConditionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, 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.idp.attribute.transcoding.AttributeTranscoder
decode, encodeMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
PROP_SCOPE_TYPE
One of "inline" or "attribute", controlling the style of XML encoding.- See Also:
-
PROP_SCOPE_ATTR_NAME
Name of XML attribute when scopeType property is "attribute".- See Also:
-
PROP_SCOPE_DELIMITER
Scope delimiter when scopeType property is "inline".- See Also:
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
SAML1ScopedStringAttributeTranscoder
public SAML1ScopedStringAttributeTranscoder()
-
-
Method Details
-
canEncodeValue
- Specified by:
canEncodeValuein classAbstractSAMLAttributeTranscoder<AttributeDesignator,ScopedStringAttributeValue>
-
encodeValue
@Nullable protected XMLObject encodeValue(@Nullable ProfileRequestContext profileRequestContext, @Nonnull IdPAttribute attribute, @Nonnull TranscodingRule rule, @Nonnull ScopedStringAttributeValue value) throws AttributeEncodingException - Specified by:
encodeValuein classAbstractSAMLAttributeTranscoder<AttributeDesignator,ScopedStringAttributeValue> - Throws:
AttributeEncodingException
-
decodeValue
@Nullable protected IdPAttributeValue decodeValue(@Nullable ProfileRequestContext profileRequestContext, @Nonnull AttributeDesignator attribute, @Nonnull TranscodingRule rule, @Nullable XMLObject value) - Specified by:
decodeValuein classAbstractSAMLAttributeTranscoder<AttributeDesignator,ScopedStringAttributeValue>
-