BAEL-3338: A Guide to AuthenticationManagerResolver in Spring Security
-Fix issues according to review
This commit is contained in:
+2
-1
@@ -44,8 +44,9 @@ public class CustomWebSecurityConfig {
|
||||
.getPath()
|
||||
.subPath(0)
|
||||
.value()
|
||||
.startsWith("/employee"))
|
||||
.startsWith("/employee")) {
|
||||
return Mono.just(employeesAuthenticationManager());
|
||||
}
|
||||
return Mono.just(customersAuthenticationManager());
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user