Package com.verisign.epp.interfaces
Interface EPPLoginAdapter
-
- All Known Implementing Classes:
EPPLoginSecLoginAdapter,EPPUnhandledNamespacesLoginAdapter
public interface EPPLoginAdapterInterface that can be implemented and configured to be called byEPPSessionto customize theEPPLoginCmdprior to sending it. Both the server'sEPPGreetingand the originalEPPLoginCmdis provided. The adapter can modify theEPPLoginCmdthat will then be sent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadaptLogin(EPPLoginCmd aLoginCmd, EPPGreeting aGreeting)Adapt theEPPLoginCmdaLoginCmdparameter based on the current state of theEPPLoginCmdand the contents of theEPPGreetingaGreetingparameter sent by the server.
-
-
-
Method Detail
-
adaptLogin
void adaptLogin(EPPLoginCmd aLoginCmd, EPPGreeting aGreeting) throws EPPCommandException
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
-
-