Class TrustedJenkinsAuthorizer

java.lang.Object
com.atlassian.bitbucket.jenkins.internal.jenkins.auth.TrustedJenkinsAuthorizer
All Implemented Interfaces:
TrustedUnderlyingSystemAuthorizerFilter

public class TrustedJenkinsAuthorizer extends Object implements TrustedUnderlyingSystemAuthorizerFilter
  • Constructor Details

    • TrustedJenkinsAuthorizer

      public TrustedJenkinsAuthorizer()
  • Method Details

    • authorize

      public void authorize(User u, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException, NoSuchUserException
      Description copied from interface: TrustedUnderlyingSystemAuthorizerFilter
      Authorize the user in the underlying system
      Specified by:
      authorize in interface TrustedUnderlyingSystemAuthorizerFilter
      Parameters:
      u - the user to be authorized and proceeed with
      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