[java-opensaml COMMIT] /trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/AbstractNameIdentifier...

noreply at shibboleth.net noreply at shibboleth.net
Wed Jan 22 19:44:48 EST 2014


Author: scantor
Date: Wed Jan 22 19:44:47 2014
New Revision: 3566

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3566&view=rev
Log:
Expose ID setter.

Modified:
    trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/AbstractNameIdentifierGenerator.java

Modified: trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/AbstractNameIdentifierGenerator.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/AbstractNameIdentifierGenerator.java?rev=3566&r1=3565&r2=3566&view=diff
==============================================================================
--- trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/AbstractNameIdentifierGenerator.java (original)
+++ trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/AbstractNameIdentifierGenerator.java Wed Jan 22 19:44:47 2014
@@ -73,6 +73,12 @@
         super.setId(getClass().getName());
         
         activationCondition = Predicates.alwaysTrue();
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public synchronized void setId(@Nonnull @NotEmpty final String componentId) {
+        super.setId(componentId);
     }
     
     /**



More information about the commits mailing list