Skip to content

Commit

Permalink
Merge pull request #3 from santhosh-opsmx/release-1.22.x
Browse files Browse the repository at this point in the history
Added log message while doing logout operation
  • Loading branch information
opsmxdemo authored Nov 25, 2020
2 parents 2d127d8 + 4c5f340 commit 8219a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class AuthConfig {
def username = (authentication?.getPrincipal() as User)?.username
if (username) {
permissionService.logout(username)
log.info("Successfully logged out user : {}", username)
}
delegate.onLogoutSuccess(request, response, authentication)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class SamlSsoConfig extends WebSecurityConfigurerAdapter {

List<String> requiredRoles
UserAttributeMapping userAttributeMapping = new UserAttributeMapping()
long maxAuthenticationAge = 7200
long maxAuthenticationAge = 28800

String signatureDigest = "SHA1" // SHA1 is the default registered in DefaultSecurityConfigurationBootstrap.populateSignatureParams

Expand Down

0 comments on commit 8219a0b

Please sign in to comment.