Uses of Class
net.shibboleth.idp.attribute.transcoding.TranscodingRule
Packages that use TranscodingRule
Package
Description
Parsers for the urn:mace:shibboleth:2.0:attribute:encoder namespace.
APIs for transcoding of attributes.
Implementation classes for attribute transcoding.
Miscellaneous implementation classes related to SAML Attributes.
Base classes for SAML
AttributeTranscoder classes.Implementations of SAML transcoders.
-
Uses of TranscodingRule in net.shibboleth.idp.attribute.resolver.spring.enc
Methods in net.shibboleth.idp.attribute.resolver.spring.enc that return types with arguments of type TranscodingRuleModifier and TypeMethodDescriptionprotected Class<TranscodingRule>BaseAttributeEncoderParser.getBeanClass(Element element) -
Uses of TranscodingRule in net.shibboleth.idp.attribute.transcoding
Methods in net.shibboleth.idp.attribute.transcoding that return TranscodingRuleModifier and TypeMethodDescriptionstatic TranscodingRuleTranscodingRule.fromResource(Resource resource) Build a new rule from a property set resource.Methods in net.shibboleth.idp.attribute.transcoding that return types with arguments of type TranscodingRuleModifier and TypeMethodDescriptionAttributeTranscoderRegistry.getTranscodingRules(IdPAttribute from, Class<?> to) Obtains a set of instructions for encoding an inputIdPAttributeinto a target type.AttributeTranscoderRegistry.getTranscodingRules(T from) Obtains a set of instructions for decoding an input object into anIdPAttribute.Methods in net.shibboleth.idp.attribute.transcoding with parameters of type TranscodingRuleModifier and TypeMethodDescriptionprivate booleanAbstractAttributeTranscoder.checkActivation(ProfileRequestContext profileRequestContext, TranscodingRule rule) Apply any activation rules to the request.AbstractAttributeTranscoder.decode(ProfileRequestContext profileRequestContext, T input, TranscodingRule rule) Decode the supplied object into a protocol-neutral representation.AttributeTranscoder.decode(ProfileRequestContext profileRequestContext, T input, TranscodingRule rule) Decode the supplied object into a protocol-neutral representation.protected abstract IdPAttributeAbstractAttributeTranscoder.doDecode(ProfileRequestContext profileRequestContext, T input, TranscodingRule rule) Decode the supplied object into a protocol-neutral representation.protected abstract TAbstractAttributeTranscoder.doEncode(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Class<? extends T> to, TranscodingRule rule) Encode the supplied attribute into a protocol specific representation.AbstractAttributeTranscoder.encode(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Class<? extends T> to, TranscodingRule rule) Encode the supplied attribute into a protocol specific representation.AttributeTranscoder.encode(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Class<? extends T> to, TranscodingRule rule) Encode the supplied attribute into a protocol specific representation.AttributeTranscoder.getEncodedName(TranscodingRule rule) Get the name of the encoded object that would be created by a given set of instructions.static <T> AttributeTranscoder<T>TranscoderSupport.getTranscoder(TranscodingRule rule) Pull anAttributeTranscoderobject out of the rule provided. -
Uses of TranscodingRule in net.shibboleth.idp.attribute.transcoding.impl
Fields in net.shibboleth.idp.attribute.transcoding.impl with type parameters of type TranscodingRuleModifier and TypeFieldDescriptionprivate final Collection<TranscodingRule>TranscodingRuleLoader.rulesRules loaded.private final Map<String,Multimap<Class<?>, TranscodingRule>> AttributeTranscoderRegistryImpl.transcodingRegistryRegistry of transcoding instructions for a given "name" and type of object.Methods in net.shibboleth.idp.attribute.transcoding.impl that return types with arguments of type TranscodingRuleModifier and TypeMethodDescriptionTranscodingRuleLoader.getRules()Get the rules loaded by this object.AttributeTranscoderRegistryImpl.getTranscodingRules(IdPAttribute from, Class<?> to) Obtains a set of instructions for encoding an inputIdPAttributeinto a target type.AttributeTranscoderRegistryImpl.getTranscodingRules(T from) Obtains a set of instructions for decoding an input object into anIdPAttribute.Methods in net.shibboleth.idp.attribute.transcoding.impl with parameters of type TranscodingRuleModifier and TypeMethodDescriptionprivate Collection<AttributeTranscoder<?>>AttributeTranscoderRegistryImpl.getAttributeTranscoders(TranscodingRule rule) Get the appropriateAttributeTranscoderobjects to use.Method parameters in net.shibboleth.idp.attribute.transcoding.impl with type arguments of type TranscodingRuleModifier and TypeMethodDescriptionvoidAttributeTranscoderRegistryImpl.setTranscoderRegistry(Collection<TranscodingRule> mappings) Installs the transcoder mappings en masse. -
Uses of TranscodingRule in net.shibboleth.idp.saml.attribute.impl
Method parameters in net.shibboleth.idp.saml.attribute.impl with type arguments of type TranscodingRuleModifier and TypeMethodDescriptionprivate <T> voidAttributeMappingNodeProcessor.decodeAttribute(Collection<TranscodingRule> rules, T input, Multimap<String, IdPAttribute> results) Access the registry of transcoding rules to decode the input object. -
Uses of TranscodingRule in net.shibboleth.idp.saml.attribute.transcoding
Methods in net.shibboleth.idp.saml.attribute.transcoding with parameters of type TranscodingRuleModifier and TypeMethodDescriptionprotected AttributeDesignatorAbstractSAML1AttributeTranscoder.buildAttribute(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Class<? extends AttributeDesignator> to, TranscodingRule rule, List<XMLObject> attributeValues) Builds a SAML attribute element from the given attribute values.protected AttributeAbstractSAML2AttributeTranscoder.buildAttribute(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Class<? extends Attribute> to, TranscodingRule rule, List<XMLObject> attributeValues) Builds a SAML attribute element from the given attribute values.protected abstract AttributeTypeAbstractSAMLAttributeTranscoder.buildAttribute(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Class<? extends AttributeType> to, TranscodingRule rule, List<XMLObject> attributeValues) Builds a SAML attribute element from the given attribute values.protected IdPAttributeAbstractSAML1AttributeTranscoder.buildIdPAttribute(ProfileRequestContext profileRequestContext, AttributeDesignator attribute, TranscodingRule rule, List<IdPAttributeValue> attributeValues) Builds anIdPAttributefrom the given values.protected IdPAttributeAbstractSAML2AttributeTranscoder.buildIdPAttribute(ProfileRequestContext profileRequestContext, Attribute attribute, TranscodingRule rule, List<IdPAttributeValue> attributeValues) Builds anIdPAttributefrom the given values.protected abstract IdPAttributeAbstractSAMLAttributeTranscoder.buildIdPAttribute(ProfileRequestContext profileRequestContext, AttributeType attribute, TranscodingRule rule, List<IdPAttributeValue> attributeValues) Builds anIdPAttributefrom the given values.protected abstract IdPAttributeValueAbstractSAMLAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, AttributeType attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.AbstractSAMLAttributeTranscoder.doDecode(ProfileRequestContext profileRequestContext, AttributeType input, TranscodingRule rule) Decode the supplied object into a protocol-neutral representation.AbstractSAMLAttributeTranscoder.doEncode(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Class<? extends AttributeType> to, TranscodingRule rule) Encode the supplied attribute into a protocol specific representation.protected voidAbstractSAML1AttributeTranscoder.encodeName(ProfileRequestContext profileRequestContext, IdPAttribute attribute, AttributeDesignator samlAttribute, TranscodingRule rule) protected voidAbstractSAML2AttributeTranscoder.encodeName(ProfileRequestContext profileRequestContext, IdPAttribute attribute, Attribute samlAttribute, TranscodingRule rule) protected abstract XMLObjectAbstractSAMLAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, EncodedType value) Encodes an attribute value into a SAML AttributeValue element.AbstractSAML1AttributeTranscoder.getEncodedName(TranscodingRule rule) Get the name of the encoded object that would be created by a given set of instructions.AbstractSAML2AttributeTranscoder.getEncodedName(TranscodingRule rule) Get the name of the encoded object that would be created by a given set of instructions. -
Uses of TranscodingRule in net.shibboleth.idp.saml.attribute.transcoding.impl
Methods in net.shibboleth.idp.saml.attribute.transcoding.impl with parameters of type TranscodingRuleModifier and TypeMethodDescriptionprotected IdPAttributeValueSAML1ByteAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, AttributeDesignator attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML1ScopedStringAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, AttributeDesignator attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML1StringAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, AttributeDesignator attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML1XMLObjectAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, AttributeDesignator attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML2ByteAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, Attribute attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML2DateTimeAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, Attribute attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML2ScopedStringAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, Attribute attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML2StringAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, Attribute attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected IdPAttributeValueSAML2XMLObjectAttributeTranscoder.decodeValue(ProfileRequestContext profileRequestContext, Attribute attribute, TranscodingRule rule, XMLObject value) Function to decode a singleXMLObjectinto anIdPAttributeValue.protected XMLObjectSAML1ByteAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, ByteAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML1ScopedStringAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, ScopedStringAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML1StringAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, StringAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML1XMLObjectAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, XMLObjectAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML2ByteAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, ByteAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML2DateTimeAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, DateTimeAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML2ScopedStringAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, ScopedStringAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML2StringAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, StringAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected XMLObjectSAML2XMLObjectAttributeTranscoder.encodeValue(ProfileRequestContext profileRequestContext, IdPAttribute attribute, TranscodingRule rule, XMLObjectAttributeValue value) Encodes an attribute value into a SAML AttributeValue element.protected InstantSAML2DateTimeAttributeTranscoder.getDateTimeValue(TranscodingRule rule, Long value) Convert a long value into anInstant.protected InstantSAML2DateTimeAttributeTranscoder.getDateTimeValue(TranscodingRule rule, String value) Convert a string value into anInstant.protected InstantSAML2DateTimeAttributeTranscoder.getDateTimeValue(TranscodingRule rule, XMLObject object) Function to return an XML object in date/time form.