I am using Spring Security 3.0 to authenticate with an LDAP server and I cannot figure out to set my own session timeout period. I believe that the default is 30 minutes but I need to set it to longer than that
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
You can either set the session timeout (say 60 minutes) for all sessions in web.xml:
or on a per-session basis using
the latter you might want to do in a authorizationSuccessHandler.
If you are using Spring Boot you can do so by adding the following to the application.properties file: