org.abstracthorizon.mercury.maildir.security
Class GenericAuthenticationProvider

java.lang.Object
  extended by org.abstracthorizon.mercury.maildir.security.GenericAuthenticationProvider
All Implemented Interfaces:
AuthenticationProvider

public class GenericAuthenticationProvider
extends Object
implements AuthenticationProvider

Generic authentication provider that always returns true

Author:
Daniel Sendula

Constructor Summary
GenericAuthenticationProvider()
          Constructor
 
Method Summary
 boolean authenticate(String host, int port, String user, char[] pass)
          Empty implementation that always returns true
 void init(String loginContext)
          Empty implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericAuthenticationProvider

public GenericAuthenticationProvider()
Constructor

Method Detail

init

public void init(String loginContext)
Empty implementation

Specified by:
init in interface AuthenticationProvider
Parameters:
loginContext - not user

authenticate

public boolean authenticate(String host,
                            int port,
                            String user,
                            char[] pass)
Empty implementation that always returns true

Specified by:
authenticate in interface AuthenticationProvider
Parameters:
host - not used
port - not used
user - not used
pass - not used
Returns:
true


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.