Interface IWebAppSecurityCollaborator


  • public interface IWebAppSecurityCollaborator
    • Method Detail

      • preInvoke

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

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

        void login​(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse resp,
                   java.lang.String username,
                   java.lang.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

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

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

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

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

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

        java.security.Principal getUserPrincipal()
      • isCDINeeded

        boolean isCDINeeded()
      • isUserInRole

        boolean isUserInRole​(java.lang.String role,
                             IExtendedRequest req)
      • getURIsInSecurityConstraints

        java.util.List<java.lang.String> getURIsInSecurityConstraints​(java.lang.String appName,
                                                                      java.lang.String contextRoot,
                                                                      java.lang.String vHost,
                                                                      java.util.List<java.lang.String> URIs)