mmhttp.server
Class PromiscuousAuthenticator

java.lang.Object
  extended by mmhttp.server.Authenticator
      extended by mmhttp.server.PromiscuousAuthenticator

public class PromiscuousAuthenticator
extends Authenticator

An implementation of Authenticator that lets every request thought. This is the default Authenticator used.


Constructor Summary
PromiscuousAuthenticator()
           
 
Method Summary
 boolean isAuthenticated(java.lang.String username, java.lang.String password)
          Should be overriden to validate the credentials.
 
Methods inherited from class mmhttp.server.Authenticator
authenticate, isRestricted, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PromiscuousAuthenticator

public PromiscuousAuthenticator()
Method Detail

isAuthenticated

public boolean isAuthenticated(java.lang.String username,
                               java.lang.String password)
Description copied from class: Authenticator
Should be overriden to validate the credentials.

Specified by:
isAuthenticated in class Authenticator
Returns:
true is the user credentials are valid


Copyright © 2009 Micah Martin. All Rights Reserved.