Interface IWebAppSecurityCollaborator


public interface IWebAppSecurityCollaborator
  • Method Details

    • preInvoke

      Object preInvoke(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String servletName, boolean enforceSecurity) throws com.ibm.wsspi.webcontainer.security.SecurityViolationException, IOException
      Throws:
      com.ibm.wsspi.webcontainer.security.SecurityViolationException
      IOException
    • authenticate

      boolean authenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • login

      void login(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String username, String password) throws javax.servlet.ServletException
      Throws:
      javax.servlet.ServletException
    • logout

      void logout(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException
      Throws:
      javax.servlet.ServletException
    • preInvoke

      Object preInvoke(String servletName) throws com.ibm.wsspi.webcontainer.security.SecurityViolationException, IOException
      Throws:
      com.ibm.wsspi.webcontainer.security.SecurityViolationException
      IOException
    • preInvoke

      Object preInvoke() throws com.ibm.wsspi.webcontainer.security.SecurityViolationException
      Throws:
      com.ibm.wsspi.webcontainer.security.SecurityViolationException
    • postInvoke

      void postInvoke(Object secObject) throws javax.servlet.ServletException
      Throws:
      javax.servlet.ServletException
    • postInvokeForSecureResponse

      void postInvokeForSecureResponse(Object secObject) throws javax.servlet.ServletException
      Throws:
      javax.servlet.ServletException
    • handleException

      void handleException(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, Throwable wse) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • getUserPrincipal

      Principal getUserPrincipal()
    • isCDINeeded

      boolean isCDINeeded()
    • isUserInRole

      boolean isUserInRole(String role, IExtendedRequest req)
    • getFormLoginExtensionProcessor

      ExtensionProcessor getFormLoginExtensionProcessor(IServletContext webapp)
    • getFormLogoutExtensionProcessor

      ExtensionProcessor getFormLogoutExtensionProcessor(IServletContext webapp)
    • getURIsInSecurityConstraints

      List<String> getURIsInSecurityConstraints(String appName, String contextRoot, String vHost, List<String> URIs)