mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 05:42:31 +00:00
Mark overriding "extraInformation" methods in account status exceptions as deprecated.
This commit is contained in:
parent
c0c283029a
commit
bce4d81142
@ -45,6 +45,7 @@ public class AccountExpiredException extends AccountStatusException {
|
|||||||
super(msg, t);
|
super(msg, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public AccountExpiredException(String msg, Object extraInformation) {
|
public AccountExpiredException(String msg, Object extraInformation) {
|
||||||
super(msg, extraInformation);
|
super(msg, extraInformation);
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,7 @@ public class CredentialsExpiredException extends AccountStatusException {
|
|||||||
super(msg, t);
|
super(msg, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public CredentialsExpiredException(String msg, Object extraInformation) {
|
public CredentialsExpiredException(String msg, Object extraInformation) {
|
||||||
super(msg, extraInformation);
|
super(msg, extraInformation);
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,7 @@ public class DisabledException extends AccountStatusException {
|
|||||||
super(msg, t);
|
super(msg, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public DisabledException(String msg, Object extraInformation) {
|
public DisabledException(String msg, Object extraInformation) {
|
||||||
super(msg, extraInformation);
|
super(msg, extraInformation);
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,7 @@ public class LockedException extends AccountStatusException {
|
|||||||
super(msg, t);
|
super(msg, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public LockedException(String msg, Object extraInformation) {
|
public LockedException(String msg, Object extraInformation) {
|
||||||
super(msg, extraInformation);
|
super(msg, extraInformation);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user