Class CheckSession


  • public class CheckSession
    extends Object
    Interface is to define what needs to be implemented to do the OpenID Connect check session endpoint.
    Since:
    12.0.0
    • Constructor Detail

      • CheckSession

        public CheckSession()
        Constructs a new CheckSession.
    • Method Detail

      • getCookieName

        public String getCookieName()
        Get the cookie name containing the session information.
        Returns:
        The cookie name.
      • getValidSession

        public boolean getValidSession​(jakarta.servlet.http.HttpServletRequest request)
        Check if the JWT contains a valid session id.
        Parameters:
        request - The HttpServletRequset.
        Returns:
        true if valid.