Browse Source

SEC-2060: Add constructor with caused by to PreAuthenticatedCredentialsNotFoundException

Rob Winch 13 years ago
parent
commit
9883c0e60b

+ 8 - 0
web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedCredentialsNotFoundException.java

@@ -8,4 +8,12 @@ public class PreAuthenticatedCredentialsNotFoundException extends Authentication
         super(msg);
     }
 
+    /**
+     *
+     * @param message The message for the Exception
+     * @param cause The Exception that caused this Exception.
+     */
+    public PreAuthenticatedCredentialsNotFoundException(String message, Throwable cause) {
+        super(message, cause);
+    }
 }