jetbrains.buildServer.controllers.interceptors.auth.util
Class AuthorizationHeader

java.lang.Object
  extended by jetbrains.buildServer.controllers.interceptors.auth.util.AuthorizationHeader

public class AuthorizationHeader
extends java.lang.Object

Represents HTTP authorization header

Since:
7.1

Constructor Summary
AuthorizationHeader(HttpAuthenticationProtocol protocol, java.lang.String data)
           
 
Method Summary
 java.lang.String asString()
           
 java.lang.String getData()
           
static AuthorizationHeader getFrom(javax.servlet.http.HttpServletRequest request)
           
 HttpAuthenticationProtocol getProtocol()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationHeader

public AuthorizationHeader(@NotNull
                           HttpAuthenticationProtocol protocol,
                           @NotNull
                           java.lang.String data)
Method Detail

getFrom

@Nullable
public static AuthorizationHeader getFrom(@NotNull
                                                   javax.servlet.http.HttpServletRequest request)

getProtocol

@NotNull
public HttpAuthenticationProtocol getProtocol()

getData

@NotNull
public java.lang.String getData()

asString

@NotNull
public java.lang.String asString()