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 Summary
Constructors Constructor Description TrustedJenkinsAuthorizer()
-
Method Summary
All Methods Instance Methods Concrete 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
public void authorize(String userName, 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 interfaceTrustedUnderlyingSystemAuthorizerFilter
- Parameters:
userName
- the user to be authorizerequest
- the requestresponse
- the responsefilterChain
- the filter chain to continue after authorization- Throws:
IOException
- for other exceptionsjavax.servlet.ServletException
- for problems while operating on request or responseNoSuchUserException
- if there is no user with the username
-
-