Class SAML2Auth

java.lang.Object
com.tremolosecurity.proxy.auth.SAML2Auth
All Implemented Interfaces:
AuthMechanism

public class SAML2Auth extends Object implements AuthMechanism
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doDelete(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as)
     
    void
    doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, AuthStep as)
     
    void
    doHead(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as)
     
    void
    doOptions(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as)
     
    void
    doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, AuthStep as)
     
    void
    doPut(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as)
     
    getFinalURL(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    void
    init(jakarta.servlet.ServletContext ctx, HashMap<String,Attribute> init)
     
    void
    initializeSSO(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.http.HttpSession session, boolean isJump, String jumpPage, Saml2MetadataLookup metadata)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SAML2Auth

      public SAML2Auth()
  • Method Details

    • doGet

      public void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, AuthStep as) throws jakarta.servlet.ServletException, IOException
      Specified by:
      doGet in interface AuthMechanism
      Throws:
      jakarta.servlet.ServletException
      IOException
    • initializeSSO

      public void initializeSSO(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.http.HttpSession session, boolean isJump, String jumpPage, Saml2MetadataLookup metadata) throws MalformedURLException, jakarta.servlet.ServletException
      Throws:
      MalformedURLException
      jakarta.servlet.ServletException
    • doPost

      public void doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, AuthStep as) throws jakarta.servlet.ServletException, IOException
      Specified by:
      doPost in interface AuthMechanism
      Throws:
      jakarta.servlet.ServletException
      IOException
    • doPut

      public void doPut(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doPut in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doHead

      public void doHead(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doHead in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doOptions

      public void doOptions(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doOptions in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doDelete

      public void doDelete(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doDelete in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • init

      public void init(jakarta.servlet.ServletContext ctx, HashMap<String,Attribute> init)
      Specified by:
      init in interface AuthMechanism
    • getFinalURL

      public String getFinalURL(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Specified by:
      getFinalURL in interface AuthMechanism