| com.atlassian.bitbucket.auth.HttpAuthenticationContext | 
    
|  Known Indirect Subclasses | 
    
Class Overview
Context class holding all details relevant for authentication processing by HttpAuthenticationHandler
 modules.
 
Constants
    
      
        public
        static
        final
        String
      
        METHOD_BASIC
    
      
        
        
  
      
    
 
    
      
        public
        static
        final
        String
      
        METHOD_FORM
    
      
        
        
  
      
    
      
  FORM-based authentication.
        Constant Value: 
        
            
                "form"
            
        
        
    
     
 
    
      
        public
        static
        final
        String
      
        METHOD_TOKEN
    
      
        
        
  
      
    
      
  Authentication based on some kind of token (not username/password based).
        Constant Value: 
        
            
                "token"
            
        
        
    
     
 
Public Methods
    
      
        
        @Nullable
        
        public
        
        
        
        
        Object
      
      getCredentials
      ()
    
      
    
      
    
    
    
      
  
  
      Returns
      - the provided credentials. Can be nullif no credentials were provided.
 
     
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        FilterChain
      
      getFilterChain
      ()
    
      
    
      
    
    
    
      
  
  
      Returns
      - the FilterChain for the authentication request.
 
     
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        String
      
      getMethod
      ()
    
      
    
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        HttpServletRequest
      
      getRequest
      ()
    
      
    
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        HttpServletResponse
      
      getResponse
      ()
    
      
    
 
    
      
        
        @Nullable
        
        public
        
        
        
        
        String
      
      getUsername
      ()
    
      
    
      
    
    
    
      
  
  
      Returns
      - the provided username. Can be nullif no username was provided. The provided username may be
 different to the authenticated user's username, for example when using OAuth authentication.