[java-identity-provider COMMIT] /trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/NameIdentifier...
noreply at shibboleth.net
noreply at shibboleth.net
Mon May 5 09:53:39 EDT 2014
Author: scantor
Date: Mon May 5 09:53:38 2014
New Revision: 5839
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5839&view=rev
Log:
Expose setId() method for bean post-processor to use.
Modified:
trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/NameIdentifierGenerationServiceImpl.java
Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/NameIdentifierGenerationServiceImpl.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/NameIdentifierGenerationServiceImpl.java?rev=5839&r1=5838&r2=5839&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/NameIdentifierGenerationServiceImpl.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/NameIdentifierGenerationServiceImpl.java Mon May 5 09:53:38 2014
@@ -25,12 +25,14 @@
import net.shibboleth.idp.saml.nameid.NameIdentifierGenerationService;
import net.shibboleth.idp.service.AbstractServiceableComponent;
import net.shibboleth.utilities.java.support.annotation.constraint.NonnullAfterInit;
+import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
import net.shibboleth.utilities.java.support.component.ComponentInitializationException;
+import net.shibboleth.utilities.java.support.component.IdentifiableComponent;
import net.shibboleth.utilities.java.support.logic.Constraint;
/** Implementation of {@link NameIdentifierGenerationService}. */
public class NameIdentifierGenerationServiceImpl extends AbstractServiceableComponent<NameIdentifierGenerationService>
- implements NameIdentifierGenerationService {
+ implements NameIdentifierGenerationService, IdentifiableComponent {
/** SAML 1 generator. */
@NonnullAfterInit private SAML1NameIdentifierGenerator saml1Generator;
@@ -38,6 +40,12 @@
/** SAML 2 generator. */
@NonnullAfterInit private SAML2NameIDGenerator saml2Generator;
+ /** {@inheritDoc} */
+ @Override
+ public void setId(@Nonnull @NotEmpty final String id) {
+ super.setId(id);
+ }
+
/**
* Set the {@link SAML1NameIdentifierGenerator} to use.
*
More information about the commits
mailing list