1
0
mirror of synced 2026-05-22 13:23:17 +00:00

Remove unnecessary throws Exception from spring-security-config

Closes gh-17957
This commit is contained in:
Rob Winch
2025-09-25 11:48:10 -05:00
parent be20201bf7
commit 667cd4aa7c
56 changed files with 204 additions and 307 deletions
@@ -122,7 +122,7 @@ public abstract class AbstractUserDetailsAuthenticationProvider
UsernamePasswordAuthenticationToken authentication) throws AuthenticationException;
@Override
public final void afterPropertiesSet() throws Exception {
public final void afterPropertiesSet() {
Assert.notNull(this.userCache, "A user cache must be set");
Assert.notNull(this.messages, "A message source must be set");
Assert.notNull(this.preAuthenticationChecks, "A pre authentication checks must be set");
@@ -215,7 +215,7 @@ public abstract class AbstractUserDetailsAuthenticationProvider
return result;
}
protected void doAfterPropertiesSet() throws Exception {
protected void doAfterPropertiesSet() {
}
public UserCache getUserCache() {