Class ForwardedHostLogoutRedirectStrategy

  • All Implemented Interfaces:
    org.springframework.security.web.RedirectStrategy

    public class ForwardedHostLogoutRedirectStrategy
    extends org.springframework.security.web.DefaultRedirectStrategy
    Plus de détails : voir https://portail.etat-de-vaud.ch/outils/dsiwiki/display/PlateformeIAM/IAM-AM

    Redirect straegy qui utilise le header X-Forwarded-Host posé par IAM pour la redirection

    Author:
    dgo
    • Field Summary

      • Fields inherited from class org.springframework.security.web.DefaultRedirectStrategy

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sendRedirect​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String url)  
      • Methods inherited from class org.springframework.security.web.DefaultRedirectStrategy

        calculateRedirectUrl, isContextRelative, setContextRelative
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ForwardedHostLogoutRedirectStrategy

        public ForwardedHostLogoutRedirectStrategy()
    • Method Detail

      • sendRedirect

        public void sendRedirect​(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response,
                                 java.lang.String url)
                          throws java.io.IOException
        Specified by:
        sendRedirect in interface org.springframework.security.web.RedirectStrategy
        Overrides:
        sendRedirect in class org.springframework.security.web.DefaultRedirectStrategy
        Throws:
        java.io.IOException