Skip to content

Commit

Permalink
SHIBUI-1774
Browse files Browse the repository at this point in the history
minor cleanup
  • Loading branch information
chasegawa committed Jun 26, 2021
1 parent c252b63 commit 0a6d994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pac4j-module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencyManagement {
dependencies {
compileOnly project(':backend')

compile "org.pac4j:spring-security-pac4j:6.0.0"
compile "org.pac4j:spring-security-pac4j:6.0.0" // pac4j is "off" - spring 6.0.0 here uses 5.1 core, thus differences in versions
compile "org.pac4j:pac4j-http:5.1.0"
compile "org.pac4j:pac4j-saml:5.1.0", {
// opensaml libraries are provided
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected void configure(HttpSecurity http) throws Exception {

final CallbackFilter callbackFilter = new CallbackFilter(this.config);
http.antMatcher("/**").addFilterBefore(callbackFilter, BasicAuthenticationFilter.class)
.addFilterBefore(securityFilterForHeader, BasicAuthenticationFilter.class) //xxx check on this
.addFilterBefore(securityFilterForHeader, BasicAuthenticationFilter.class)
.addFilterAfter(new AddNewUserFilter(pac4jConfigurationProperties, userRepository, roleRepository, emailService), SecurityFilter.class);

http.authorizeRequests().anyRequest().fullyAuthenticated();
Expand Down

0 comments on commit 0a6d994

Please sign in to comment.