org.apache.pivot.web
Class BasicAuthentication
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthentication
public BasicAuthentication(String username,
String password)
getUsername
public String getUsername()
getPassword
public String getPassword()
authenticate
public void authenticate(Query<?> query)
- Specified by:
authenticate
in interface Authentication