[java-identity-provider COMMIT] /trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/profile/impl/BaseAddAttrib...

noreply at shibboleth.net noreply at shibboleth.net
Sun Nov 16 15:08:06 EST 2014


Author: scantor
Date: Sun Nov 16 15:08:06 2014
New Revision: 6918

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6918&view=rev
Log:
Add missing annotation.

Modified:
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/profile/impl/BaseAddAttributeStatementToAssertion.java

Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/profile/impl/BaseAddAttributeStatementToAssertion.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/profile/impl/BaseAddAttributeStatementToAssertion.java?rev=6918&r1=6917&r2=6918&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/profile/impl/BaseAddAttributeStatementToAssertion.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/profile/impl/BaseAddAttributeStatementToAssertion.java Sun Nov 16 15:08:06 2014
@@ -31,6 +31,7 @@
 import org.opensaml.profile.context.ProfileRequestContext;
 
 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.ComponentSupport;
 import net.shibboleth.utilities.java.support.logic.Constraint;
 import net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy;
@@ -208,7 +209,7 @@
      *
      * @return the issuer name
      */
-    @Nonnull public String getIssuerId() {
+    @Nonnull @NotEmpty public String getIssuerId() {
         Constraint.isNotNull(issuerId, "Issuer name has not been initialized yet");
         return issuerId;
     }



More information about the commits mailing list