Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MaxAuthenticationAge in WebSSOProfileConsumerImpl

What is the use of WebSSOProfileConsumerImpl.setMaxAuthenticationAge in spring security. Do I need to set its value explicitly? http://docs.spring.io/spring-security-saml/docs/current/api/org/springframework/security/saml/websso/WebSSOProfileConsumerImpl.html

like image 413
trb Avatar asked Oct 28 '25 15:10

trb


1 Answers

Quote from https://docs.spring.io/spring-security-saml/docs/current/reference/html/configuration-advanced.html#time-interval (with added formatting)

System allows users to single sign-on for up to 7200 seconds since their initial authentication with the IDP (based on value AuthInstance of the Authentication statement). Some IDPs allow users to stay authenticated for longer periods than this and you might need to change the default value by setting maxAuthenticationAge of the WebSSOProfileConsumerImpl bean.

like image 92
Soniya Chavan Avatar answered Oct 31 '25 05:10

Soniya Chavan