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 HttpAuthenticationResultHttpAuthenticationResult. 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 HttpAuthenticationResultHttpAuthenticationResult. 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.HttpAuthenticationResultHttpAuthenticationManager. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean canRedirect)Contract: if canRedirect is false, then <return value>.getRedirectUrl() is null.HttpAuthenticationResultHttpAuthenticationScheme. 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().HttpAuthenticationResultHttpAuthenticationSchemeAdapter. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)static HttpAuthenticationResultHttpAuthenticationResult. 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.HttpAuthenticationResultHttpAuthenticationResult. 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 HttpAuthenticationResultAgentHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SimpleCredentials credentials, Map<String,String> properties)protected abstract HttpAuthenticationResultAuthorizationHeaderBasedHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, T credentials, Map<String,String> properties)protected HttpAuthenticationResultBasicHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SimpleCredentials credentials, Map<String,String> properties)protected HttpAuthenticationResultTokenBasedHttpAuthenticationScheme. checkCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, BearerTokenCredentials credentials, Map<String,String> properties)HttpAuthenticationResultAuthorizationHeaderBasedHttpAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)HttpAuthenticationResultForbiddingDomainsAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)HttpAuthenticationResultGuestHttpAuthenticationScheme. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)HttpAuthenticationResultHttpAuthenticationManagerImpl. 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 HttpAuthenticationResultPresignedTokenHttpAuthenticationScheme. 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 HttpAuthenticationResultHttpAuthUtil. 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 HttpAuthenticationResultHttpAuthUtil. 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 HttpAuthenticationResultHttpAuthUtil. 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 HttpAuthenticationResultHttpAuthUtil. 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 HttpAuthenticationResultHttpAuthUtil. 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 HttpAuthenticationResultHttpAuthUtil. 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 HttpAuthenticationResultBaseOAuthAuthentication. processAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,String> properties)
-