public class LoginAuthenticationHandlerFactory extends Object implements AuthenticationHandlerFactory
LOGIN is an obsolete authentication method which has no formal specification. There is an expired IETF draft for informational purposes. A Microsoft document can also be found, which intends to specify the LOGIN mechanism. The latter is not entirely compatible, neither with the IETF draft nor with RFC 4954 (SMTP Service Extension for Authentication). However this implementation is likely usable with clients following any of the two documents.
Constructor and Description |
---|
LoginAuthenticationHandlerFactory(UsernamePasswordValidator helper) |
Modifier and Type | Method and Description |
---|---|
AuthenticationHandler |
create()
Create a fresh instance of your handler.
|
List<String> |
getAuthenticationMechanisms()
If your handler supports RFC 2554 at some degree, then it must return all the supported mechanisms here.
|
public LoginAuthenticationHandlerFactory(UsernamePasswordValidator helper)
public List<String> getAuthenticationMechanisms()
AuthenticationHandlerFactory
getAuthenticationMechanisms
in interface AuthenticationHandlerFactory
public AuthenticationHandler create()
AuthenticationHandlerFactory
create
in interface AuthenticationHandlerFactory
Copyright © 2006–2018. All rights reserved.