|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.abstracthorizon.mercury.maildir.security.GenericAuthenticationProvider
public class GenericAuthenticationProvider
Generic authentication provider that always returns true
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 |
---|
public GenericAuthenticationProvider()
Method Detail |
---|
public void init(String loginContext)
init
in interface AuthenticationProvider
loginContext
- not userpublic boolean authenticate(String host, int port, String user, char[] pass)
true
authenticate
in interface AuthenticationProvider
host
- not usedport
- not useduser
- not usedpass
- not used
true
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |