Package com.verisign.epp.interfaces
Interface EPPLoginAdapter
- All Known Implementing Classes:
EPPLoginSecLoginAdapter,EPPUnhandledNamespacesLoginAdapter
public interface EPPLoginAdapter
Interface that can be implemented and configured to be called by
EPPSession to customize the EPPLoginCmd prior to sending it.
Both the server's EPPGreeting and the original EPPLoginCmd is
provided. The adapter can modify the EPPLoginCmd that will then be
sent.-
Method Summary
Modifier and TypeMethodDescriptionvoidadaptLogin(EPPLoginCmd aLoginCmd, EPPGreeting aGreeting) Adapt theEPPLoginCmdaLoginCmdparameter based on the current state of theEPPLoginCmdand the contents of theEPPGreetingaGreetingparameter sent by the server.
-
Method Details
-
adaptLogin
Adapt theEPPLoginCmdaLoginCmdparameter based on the current state of theEPPLoginCmdand the contents of theEPPGreetingaGreetingparameter sent by the server.- Parameters:
aLoginCmd- OriginalEPPLoginCmdcreated byEPPSessionthat can be adapted by the concreteEPPLoginAdapter.aGreeting-EPPGreetingreturned by the server that can be used to drive the adapting of theEPPLoginCmd.- Throws:
EPPCommandException- Error found with adapting the login
-