Interface TrustedUnderlyingSystemAuthorizerFilter

  • All Known Implementing Classes:
    TrustedJenkinsAuthorizer

    public interface TrustedUnderlyingSystemAuthorizerFilter
    Implementation of this filter should simply assume it like Filter except all validation are already done This should simply take further action based on the passed in user name.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void authorize​(String userName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
      Authorize the user in the underlying system
    • Method Detail

      • authorize

        void authorize​(String userName,
                       javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response,
                       javax.servlet.FilterChain filterChain)
                throws IOException,
                       javax.servlet.ServletException,
                       NoSuchUserException
        Authorize the user in the underlying system
        Parameters:
        userName - the user to be authorize
        request - the request
        response - the response
        filterChain - the filter chain to continue after authorization
        Throws:
        IOException - for other exceptions
        javax.servlet.ServletException - for problems while operating on request or response
        NoSuchUserException - if there is no user with the username