Skip to content

Commit c0337f9

Browse files
committed
Change authRequest field to be set through setter (setAuthRequest)
Signed-off-by: amm0124 <[email protected]>
1 parent 5af5bba commit c0337f9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

core/src/main/java/org/springframework/security/core/AuthenticationException.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,6 @@ public AuthenticationException(String msg) {
6262
this.authRequest = null;
6363
}
6464

65-
/**
66-
* Constructs an {@code AuthenticationException} with the specified message and root
67-
* cause.
68-
* @param msg the detail message
69-
* @param authRequest details about the failed authentication request
70-
*/
71-
public AuthenticationException(String msg, Authentication authRequest) {
72-
super(msg);
73-
Assert.notNull(authRequest, "AuthRequest cannot be null");
74-
}
7565

7666
/**
7767
* Sets the {@link Authentication} object representing the failed authentication

0 commit comments

Comments
 (0)