org.sonar.api.security
Class Authenticator.Context

java.lang.Object
  extended by org.sonar.api.security.Authenticator.Context
Enclosing class:
Authenticator

public static final class Authenticator.Context
extends Object


Constructor Summary
Authenticator.Context(String username, String password, javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 String getPassword()
          Password can be null, for example when using CAS.
 javax.servlet.http.HttpServletRequest getRequest()
           
 String getUsername()
          Username can be null, for example when using CAS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authenticator.Context

public Authenticator.Context(@Nullable
                             String username,
                             @Nullable
                             String password,
                             javax.servlet.http.HttpServletRequest request)
Method Detail

getUsername

public String getUsername()
Username can be null, for example when using CAS.


getPassword

public String getPassword()
Password can be null, for example when using CAS.


getRequest

public javax.servlet.http.HttpServletRequest getRequest()


Copyright © 2009-2014 SonarSource. All Rights Reserved.