|
|
|
@ -206,6 +206,10 @@ public class JpaTests { |
|
|
|
authorizationServer |
|
|
|
authorizationServer |
|
|
|
.oidc(Customizer.withDefaults()) // Enable OpenID Connect 1.0
|
|
|
|
.oidc(Customizer.withDefaults()) // Enable OpenID Connect 1.0
|
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
.authorizeHttpRequests((authorize) -> |
|
|
|
|
|
|
|
authorize |
|
|
|
|
|
|
|
.anyRequest().authenticated() |
|
|
|
|
|
|
|
) |
|
|
|
.exceptionHandling((exceptions) -> exceptions |
|
|
|
.exceptionHandling((exceptions) -> exceptions |
|
|
|
.defaultAuthenticationEntryPointFor( |
|
|
|
.defaultAuthenticationEntryPointFor( |
|
|
|
new LoginUrlAuthenticationEntryPoint("/login"), |
|
|
|
new LoginUrlAuthenticationEntryPoint("/login"), |
|
|
|
|