org.apache.pivot.web
Class BasicAuthentication

java.lang.Object
  extended by org.apache.pivot.web.BasicAuthentication
All Implemented Interfaces:
Authentication

public class BasicAuthentication
extends Object
implements Authentication

Implementation of the Authentication interface supporting the HTTP Basic Authentication scheme.


Constructor Summary
BasicAuthentication(String username, String password)
           
 
Method Summary
 void authenticate(Query<?> query)
           
 String getPassword()
           
 String getUsername()
           
 void setPassword(String password)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthentication

public BasicAuthentication(String username,
                           String password)
Method Detail

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

authenticate

public void authenticate(Query<?> query)
Specified by:
authenticate in interface Authentication