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

noreply at shibboleth.net noreply at shibboleth.net
Wed Feb 5 15:15:49 EST 2014


Author: scantor
Date: Wed Feb  5 15:15:48 2014
New Revision: 3598

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3598&view=rev
Log:
Add decryption error events.

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

Modified: trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/SAMLEventIds.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/SAMLEventIds.java?rev=3598&r1=3597&r2=3598&view=diff
==============================================================================
--- trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/SAMLEventIds.java (original)
+++ trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/SAMLEventIds.java Wed Feb  5 15:15:48 2014
@@ -17,6 +17,10 @@
 
 package org.opensaml.saml.common.profile;
 
+import javax.annotation.Nonnull;
+
+import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
+
 /**
  * SAML-specific constants to use for {@link org.opensaml.profile.action.ProfileAction}
  * {@link org.opensaml.profile.context.EventContext}s.
@@ -24,10 +28,20 @@
 public final class SAMLEventIds {
 
     /** ID of the event returned if the requested NameIDPolicy can't be satisfied. */
-    public static final String INVALID_NAMEID_POLICY = "InvalidNameIDPolicy";
+    @Nonnull @NotEmpty public static final String INVALID_NAMEID_POLICY = "InvalidNameIDPolicy";
+    
+    /** ID of the event returned upon failure to decrypt an {@link EncryptedAssertion}. */
+    @Nonnull @NotEmpty public static final String DECRYPT_ASSERTION_FAILED = "DecryptAssertionFailed";
 
+    /** ID of the event returned upon failure to decrypt an {@link EncryptedID}. */
+    @Nonnull @NotEmpty public static final String DECRYPT_NAMEID_FAILED = "DecryptNameIDFailed";
+
+    /** ID of the event returned upon failure to decrypt an {@link EncryptedAttribute}. */
+    @Nonnull @NotEmpty public static final String DECRYPT_ATTRIBUTE_FAILED = "DecryptAttributeFailed";
+    
     /** Constructor. */
     private SAMLEventIds() {
+        
     }
     
 }



More information about the commits mailing list