org.baswell.routes
Class SimpleMetaAuthenticator

java.lang.Object
  extended by org.baswell.routes.BasicMetaAuthenticator
      extended by org.baswell.routes.SimpleMetaAuthenticator
All Implemented Interfaces:
MetaAuthenticator

public class SimpleMetaAuthenticator
extends BasicMetaAuthenticator

A simple MetaAuthenticator that uses a static user name and password (provided at construction) and Basic authentication to determine if access to the Routes meta page is allowed.


Constructor Summary
SimpleMetaAuthenticator(java.lang.String userName, java.lang.String password)
           
 
Method Summary
protected  boolean validCredentials(java.lang.String userName, java.lang.String password)
           
 
Methods inherited from class org.baswell.routes.BasicMetaAuthenticator
metaRequestAuthenticated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMetaAuthenticator

public SimpleMetaAuthenticator(java.lang.String userName,
                               java.lang.String password)
Method Detail

validCredentials

protected boolean validCredentials(java.lang.String userName,
                                   java.lang.String password)
Specified by:
validCredentials in class BasicMetaAuthenticator