Class SAML1XMLObjectAttributeTranscoder
- java.lang.Object
-
- net.shibboleth.utilities.java.support.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<XMLObjectAttributeValue>
-
- net.shibboleth.idp.saml.attribute.transcoding.impl.SAML1XMLObjectAttributeTranscoder
-
- All Implemented Interfaces:
AttributeTranscoder<AttributeDesignator>,SAML1AttributeTranscoder<XMLObjectAttributeValue>,Component,DestructableComponent,InitializableComponent
public class SAML1XMLObjectAttributeTranscoder extends AbstractSAML1AttributeTranscoder<XMLObjectAttributeValue>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.shibboleth.idp.saml.attribute.transcoding.AbstractSAML1AttributeTranscoder
AbstractSAML1AttributeTranscoder.NamingFunction
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.static StringPROP_INCLUDE_ATTR_VALUEProperty indicating whether to decode the AttributeValue element itself, or its child element.-
Fields inherited from interface net.shibboleth.idp.saml.attribute.transcoding.SAML1AttributeTranscoder
PROP_ENCODE_TYPE, PROP_NAME, PROP_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description SAML1XMLObjectAttributeTranscoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEncodeValue(IdPAttribute attribute, IdPAttributeValue value)protected IdPAttributeValuedecodeValue(ProfileRequestContext profileRequestContext, AttributeDesignator attribute, TranscodingRule rule, XMLObject value)protected XMLObjectencodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, XMLObjectAttributeValue value)-
Methods inherited from class net.shibboleth.idp.saml.attribute.transcoding.AbstractSAML1AttributeTranscoder
buildAttribute, buildIdPAttribute, getEncodedName, getEncodedType, getValues
-
Methods inherited from class net.shibboleth.idp.saml.attribute.transcoding.AbstractSAMLAttributeTranscoder
doDecode, doEncode, getStringValue
-
Methods inherited from class net.shibboleth.idp.attribute.transcoding.AbstractAttributeTranscoder
decode, encode, setActivationCondition
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.idp.attribute.transcoding.AttributeTranscoder
decode, encode
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Field Detail
-
PROP_INCLUDE_ATTR_VALUE
@Nonnull @NotEmpty public static final String PROP_INCLUDE_ATTR_VALUE
Property indicating whether to decode the AttributeValue element itself, or its child element.- See Also:
- Constant Field Values
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
-
Method Detail
-
canEncodeValue
protected boolean canEncodeValue(@Nonnull IdPAttribute attribute, @Nonnull IdPAttributeValue value)- Specified by:
canEncodeValuein classAbstractSAMLAttributeTranscoder<AttributeDesignator,XMLObjectAttributeValue>
-
encodeValue
@Nullable protected XMLObject encodeValue(@Nullable ProfileRequestContext profileRequestContext, @Nonnull IdPAttribute attribute, @Nonnull TranscodingRule rule, @Nonnull XMLObjectAttributeValue value) throws AttributeEncodingException
- Specified by:
encodeValuein classAbstractSAMLAttributeTranscoder<AttributeDesignator,XMLObjectAttributeValue>- Throws:
AttributeEncodingException
-
decodeValue
@Nullable protected IdPAttributeValue decodeValue(@Nullable ProfileRequestContext profileRequestContext, @Nonnull AttributeDesignator attribute, @Nonnull TranscodingRule rule, @Nullable XMLObject value)
- Specified by:
decodeValuein classAbstractSAMLAttributeTranscoder<AttributeDesignator,XMLObjectAttributeValue>
-
-