[java-opensaml COMMIT] in /trunk: opensaml-profile-api/src/main/java/org/opensaml/profile/action/EventIds.java opensa...

noreply at shibboleth.net noreply at shibboleth.net
Tue Apr 1 17:45:51 EDT 2014


Author: scantor
Date: Tue Apr  1 17:45:50 2014
New Revision: 3750

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3750&view=rev
Log:
OSJ-70 - Action to populate signature validation params

Added:
    trunk/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/PopulateSignatureValidationParameters.java   (with props)
Modified:
    trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/action/EventIds.java
    trunk/opensaml-profile-impl/pom.xml

Modified: trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/action/EventIds.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/action/EventIds.java?rev=3750&r1=3749&r2=3750&view=diff
==============================================================================
--- trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/action/EventIds.java (original)
+++ trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/action/EventIds.java Tue Apr  1 17:45:50 2014
@@ -17,58 +17,64 @@
 
 package org.opensaml.profile.action;
 
+import javax.annotation.Nonnull;
+
+import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
+
 /** Constants to use for {@link ProfileAction} {@link org.opensaml.profile.context.EventContext}s. */
 public final class EventIds {
 
-    /**
-     * ID of event returned if an I/O-related error occurs.
-     */
-    public static final String IO_ERROR = "InputOutputError";
+    /** ID of event returned if an I/O-related error occurs. */
+    @Nonnull @NotEmpty public static final String IO_ERROR = "InputOutputError";
     
     /**
      * ID of event returned if the {@link org.opensaml.profile.context.ProfileRequestContext} associated with the
      * current request is missing or corrupt in some way.
      */
-    public static final String INVALID_PROFILE_CTX = "InvalidProfileContext";
+    @Nonnull @NotEmpty public static final String INVALID_PROFILE_CTX = "InvalidProfileContext";
 
     /**
      * ID of the event returned if a {@link org.opensaml.messaging.context.MessageContext} is missing or corrupt in some
      * way.
      */
-    public static final String INVALID_MSG_CTX = "InvalidMessageContext";
+    @Nonnull @NotEmpty public static final String INVALID_MSG_CTX = "InvalidMessageContext";
 
     /**
      * ID of the event returned if a {@link org.opensaml.messaging.context.BasicMessageMetadataContext} is missing or
      * corrupt in some way.
      */
-    public static final String INVALID_MSG_MD = "InvalidMessageMetadata";
+    @Nonnull @NotEmpty public static final String INVALID_MSG_MD = "InvalidMessageMetadata";
 
+    /** ID of event returned if an error occurs with security configuration. */
+    @Nonnull @NotEmpty public static final String INVALID_SEC_CFG = "SecurityConfigurationError";
+    
     /**
      * ID of the event returned if a {@link org.opensaml.messaging.decoder.MessageDecoder} is unable to decode a
      * message.
      */
-    public static final String UNABLE_TO_DECODE = "UnableToDecode";
+    @Nonnull @NotEmpty public static final String UNABLE_TO_DECODE = "UnableToDecode";
     
     /**
      * ID of the event returned if a {@link org.opensaml.messaging.encoder.MessageEncoder} is unable to encode a
      * message.
      */
-    public static final String UNABLE_TO_ENCODE = "UnableToEncode";
+    @Nonnull @NotEmpty public static final String UNABLE_TO_ENCODE = "UnableToEncode";
     
     /**
      * ID of the event returned if a {@link org.opensaml.xmlsec.signature.support.Signer} is unable to sign a signature.
      */
-    public static final String UNABLE_TO_SIGN = "UnableToSign";
+    @Nonnull @NotEmpty public static final String UNABLE_TO_SIGN = "UnableToSign";
 
     /** ID of the event returned if a SAML message version is incorrect or unsupported. */
-    public static final String INVALID_MESSAGE_VERSION = "InvalidMessageVersion";
+    @Nonnull @NotEmpty public static final String INVALID_MESSAGE_VERSION = "InvalidMessageVersion";
     
     /**
      * ID of an Event indicating that an action completed successfully and processing should move on to the next step.
      */
-    public static final String PROCEED_EVENT_ID = "proceed";
+    @Nonnull @NotEmpty public static final String PROCEED_EVENT_ID = "proceed";
 
     /** Constructor. */
     private EventIds() {
+        
     }
 }

Modified: trunk/opensaml-profile-impl/pom.xml
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-profile-impl/pom.xml?rev=3750&r1=3749&r2=3750&view=diff
==============================================================================
--- trunk/opensaml-profile-impl/pom.xml (original)
+++ trunk/opensaml-profile-impl/pom.xml Tue Apr  1 17:45:50 2014
@@ -26,6 +26,12 @@
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>opensaml-messaging-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>${project.groupId}</groupId>

[... 5 lines stripped ...]


More information about the commits mailing list