diff --git a/web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedCredentialsNotFoundException.java b/web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedCredentialsNotFoundException.java index 80c0963cae..547bb04c01 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedCredentialsNotFoundException.java +++ b/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); + } }