[java-identity-provider COMMIT] in /trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/mapping: Abstr...

noreply at shibboleth.net noreply at shibboleth.net
Fri Jun 13 08:13:35 EDT 2014


Author: rdw
Date: Fri Jun 13 08:13:35 2014
New Revision: 6083

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6083&view=rev
Log:
IDP-376 Add a specific containing type to allow us to pluck mapped data from
XMLObject metadata

Added:
    trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/mapping/AttributesMapContainer.java
Modified:
    trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/mapping/AbstractSAMLAttributesMapper.java

Modified: trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/mapping/AbstractSAMLAttributesMapper.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/mapping/AbstractSAMLAttributesMapper.java?rev=6083&r1=6082&r2=6083&view=diff
==============================================================================
--- trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/mapping/AbstractSAMLAttributesMapper.java (original)
+++ trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/mapping/AbstractSAMLAttributesMapper.java Fri Jun 13 08:13:35 2014
@@ -147,12 +147,12 @@
      */
     @Override public Multimap<String, OutType> mapAttributes(@Nonnull @NonnullElements List<InType> prototypes) {
 
-        Multimap<String, OutType> result = ArrayListMultimap.create();
+        final Multimap<String, OutType> result = ArrayListMultimap.create();
 
         for (InType prototype : prototypes) {
             for (AttributeMapper<InType, OutType> mapper : mappers) {
 
-                Map<String, OutType> mappedAttributes = mapper.mapAttribute(prototype);
+                final Map<String, OutType> mappedAttributes = mapper.mapAttribute(prototype);
 
                 log.debug("{} SAML attribute '{}' mapped to {} attributes by mapper '{}'", getLogPrefix(),
                         prototype.getName(), mappedAttributes.size(), mapper.getId());



More information about the commits mailing list