Class StatusCodeSessionInformationExpiredStrategy

  • All Implemented Interfaces:
    org.springframework.security.web.session.SessionInformationExpiredStrategy

    public class StatusCodeSessionInformationExpiredStrategy
    extends Object
    implements org.springframework.security.web.session.SessionInformationExpiredStrategy
    Implementation of SessionInformationExpiredStrategy that only returns an unauthorized status code.
    Since:
    4.0
    Author:
    joseross
    • Constructor Detail

      • StatusCodeSessionInformationExpiredStrategy

        public StatusCodeSessionInformationExpiredStrategy()
    • Method Detail

      • onExpiredSessionDetected

        public void onExpiredSessionDetected​(org.springframework.security.web.session.SessionInformationExpiredEvent event)
                                      throws IOException
        Specified by:
        onExpiredSessionDetected in interface org.springframework.security.web.session.SessionInformationExpiredStrategy
        Throws:
        IOException