pivot.web
Class BasicAuthentication

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

public class BasicAuthentication
extends java.lang.Object
implements Authentication

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


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

Constructor Detail

BasicAuthentication

public BasicAuthentication(java.lang.String username,
                           java.lang.String password)
Method Detail

getUsername

public java.lang.String getUsername()

getPassword

public java.lang.String getPassword()

authenticate

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