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

noreply at shibboleth.net noreply at shibboleth.net
Thu Jun 12 05:48:56 EDT 2014


Author: rdw
Date: Thu Jun 12 05:48:56 2014
New Revision: 6080

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6080&view=rev
Log:
IDP-376  Change interface name to track its changed function

Added:
    trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperProcessor.java
      - copied, changed from r6079, trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperFactory.java
Modified:
    trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperFactory.java
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2ByteAttributeEncoder.java
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2ScopedStringAttributeEncoder.java
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2StringAttributeEncoder.java
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2XMLObjectAttributeEncoder.java
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/mapping/impl/RequestedAttributesMapper.java

Copied: trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperProcessor.java (from r6079, trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperFactory.java)
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperProcessor.java?p2=trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperProcessor.java&p1=trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperFactory.java&r1=6079&r2=6080&rev=6080&view=diff
==============================================================================
--- trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperFactory.java (original)
+++ trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/attribute/encoding/AttributeMapperProcessor.java Thu Jun 12 05:48:56 2014
@@ -25,15 +25,15 @@
 import org.opensaml.saml.saml2.core.Attribute;
 
 /**
- * An interface which is implemented by encoders which encode attributes which can be reverse mapped.
+ * An interface which is implemented by encoders which encode attributes and which can be reverse mapped.
  * 
  * @param <S> The SAML Type
  * @param <I> The IdP Type
  */
-public interface AttributeMapperFactory<S extends Attribute, I extends IdPAttribute> {
+public interface AttributeMapperProcessor<S extends Attribute, I extends IdPAttribute> {
 
     /**
-     * This populated the attribute mapper to go from a SAML Attribute (or derivative) to an IdP Attribute (or
+     * This populates the attribute mapper to go from a SAML Attribute (or derivative) to an IdP Attribute (or
      * derivative) such that applying the output of the mapper to the encoder will produce the name attribute
      * (and vice versa).
      * 

Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2ByteAttributeEncoder.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2ByteAttributeEncoder.java?rev=6080&r1=6079&r2=6080&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2ByteAttributeEncoder.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2ByteAttributeEncoder.java Thu Jun 12 05:48:56 2014
@@ -26,7 +26,7 @@
 import net.shibboleth.idp.attribute.IdPAttributeValue;
 import net.shibboleth.idp.attribute.IdPRequestedAttribute;
 import net.shibboleth.idp.saml.attribute.encoding.AbstractSAML2AttributeEncoder;
-import net.shibboleth.idp.saml.attribute.encoding.AttributeMapperFactory;
+import net.shibboleth.idp.saml.attribute.encoding.AttributeMapperProcessor;
 import net.shibboleth.idp.saml.attribute.encoding.SAMLEncoderSupport;
 import net.shibboleth.idp.saml.attribute.mapping.AbstractSAMLAttributeMapper;
 import net.shibboleth.idp.saml.attribute.mapping.impl.ByteAttributeValueMapper;
@@ -40,7 +40,7 @@
  * that contains <code>byte[]</code> values.
  */
 public class SAML2ByteAttributeEncoder extends AbstractSAML2AttributeEncoder<ByteAttributeValue> implements
-        AttributeMapperFactory<RequestedAttribute, IdPRequestedAttribute> {
+        AttributeMapperProcessor<RequestedAttribute, IdPRequestedAttribute> {
 
     /** {@inheritDoc} */
     @Override protected boolean canEncodeValue(@Nonnull final IdPAttribute attribute,

Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2ScopedStringAttributeEncoder.java

[... 98 lines stripped ...]


More information about the commits mailing list