Class OpenSaml4LogoutRequestResolver

    • Method Detail

      • resolve

        public Saml2LogoutRequest resolve​(javax.servlet.http.HttpServletRequest request,
                                          org.springframework.security.core.Authentication authentication)
        Prepare to create, sign, and serialize a SAML 2.0 Logout Request. By default, includes a NameID based on the Authentication instance.
        Specified by:
        resolve in interface Saml2LogoutRequestResolver
        Parameters:
        request - the HTTP request
        authentication - the current user
        Returns:
        a signed and serialized SAML 2.0 Logout Request
      • setClock

        public void setClock​(java.time.Clock clock)
        Use this Clock for determining the issued Instant
        Parameters:
        clock - the Clock to use