Uses of Class
jetbrains.buildServer.controllers.interceptors.auth.HttpAuthenticationResult
-
-
Uses of HttpAuthenticationResult in jetbrains.buildServer.controllers.interceptors.auth
Methods in jetbrains.buildServer.controllers.interceptors.auth that return HttpAuthenticationResult Modifier and Type Method Description static HttpAuthenticationResult
HttpAuthenticationResult. authenticated(ServerPrincipal principal, boolean rememberMe)
Creates HttpAuthenticationResult which designates that HTTP authentication scheme determined a user (passed as 'principal') and the request should be processed further with the user logged in.static HttpAuthenticationResult
HttpAuthenticationResult. notApplicable()
Creates HttpAuthenticationResult which designates that the request was not understood or is not applicable to the HTTP authentication scheme and that response was not affected anyhow.HttpAuthenticationResult
HttpAuthenticationManager. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean canRedirect)
Contract: if canRedirect is false, then <return value>.getRedirectUrl() is null.HttpAuthenticationResult
HttpAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
Processes authentication request.
If the request does not correspond to this scheme, method must return HttpAuthenticationResult.notApplicable().
If response object is changed inside the method, method must return HttpAuthenticationResult.unauthenticated().HttpAuthenticationResult
HttpAuthenticationSchemeAdapter. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
static HttpAuthenticationResult
HttpAuthenticationResult. unauthenticated()
Creates HttpAuthenticationResult which designates that the request was understood and processed by the HTTP authentication scheme by modifying response object (at least setting 401 response code), but user was not (yet) determined or authentication failed.HttpAuthenticationResult
HttpAuthenticationResult. withRedirect(String redirectUrl)
Specifies the URL to redirect to after authentication. -
Uses of HttpAuthenticationResult in jetbrains.buildServer.controllers.interceptors.auth.impl
Methods in jetbrains.buildServer.controllers.interceptors.auth.impl that return HttpAuthenticationResult Modifier and Type Method Description protected HttpAuthenticationResult
AgentHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SimpleCredentials credentials, Map<String,String> properties)
protected abstract HttpAuthenticationResult
AuthorizationHeaderBasedHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, T credentials, Map<String,String> properties)
protected HttpAuthenticationResult
BasicHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SimpleCredentials credentials, Map<String,String> properties)
protected HttpAuthenticationResult
TokenBasedHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, BearerTokenCredentials credentials, Map<String,String> properties)
HttpAuthenticationResult
AuthorizationHeaderBasedHttpAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
HttpAuthenticationResult
ForbiddingDomainsAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
HttpAuthenticationResult
GuestHttpAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
HttpAuthenticationResult
HttpAuthenticationManagerImpl. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean canRedirect)
-
Uses of HttpAuthenticationResult in jetbrains.buildServer.controllers.interceptors.auth.presigned.impl
Methods in jetbrains.buildServer.controllers.interceptors.auth.presigned.impl that return HttpAuthenticationResult Modifier and Type Method Description HttpAuthenticationResult
PresignedTokenHttpAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
-
Uses of HttpAuthenticationResult in jetbrains.buildServer.controllers.interceptors.auth.util
Methods in jetbrains.buildServer.controllers.interceptors.auth.util that return HttpAuthenticationResult Modifier and Type Method Description static HttpAuthenticationResult
HttpAuthUtil. sendAnswer(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String wwwAuthenticateHeader)
Sets status code "401", status message and needed headers in the response, keeps connectionstatic HttpAuthenticationResult
HttpAuthUtil. sendUnauthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String reason, Set<HttpAuthenticationProtocol> protocols)
Sets status code "401", status message and needed headers in the responsestatic HttpAuthenticationResult
HttpAuthUtil. sendUnauthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String reason, HttpAuthenticationProtocolsProvider protocolsProvider, Map<String,String> properties)
Sets status code "401", status message and needed headers in the responsestatic HttpAuthenticationResult
HttpAuthUtil. sendUnauthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable e, Set<HttpAuthenticationProtocol> protocols)
Sets status code "401", status message and needed headers in the responsestatic HttpAuthenticationResult
HttpAuthUtil. sendUnauthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable e, Set<HttpAuthenticationProtocol> protocols, String loginPageUrl)
Sets status code "401", status message and needed headers in the responsestatic HttpAuthenticationResult
HttpAuthUtil. sendUnauthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable e, HttpAuthenticationProtocolsProvider protocolsProvider, Map<String,String> properties)
Sets status code "401", status message and needed headers in the response -
Uses of HttpAuthenticationResult in jetbrains.buildServer.serverSide.oauth
Methods in jetbrains.buildServer.serverSide.oauth that return HttpAuthenticationResult Modifier and Type Method Description HttpAuthenticationResult
BaseOAuthAuthentication. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
-