Package com.verisign.epp.interfaces
Class EPPLoginSecLoginAdapter
- java.lang.Object
-
- com.verisign.epp.interfaces.EPPLoginSecLoginAdapter
-
- All Implemented Interfaces:
EPPLoginAdapter
public class EPPLoginSecLoginAdapter extends java.lang.Object implements EPPLoginAdapter
Interface 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.
-
-
Constructor Summary
Constructors Constructor Description EPPLoginSecLoginAdapter()Constructor that will retrieve the useUserAgent attribute value fromEPPEnv.
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
EPPLoginSecLoginAdapter
public EPPLoginSecLoginAdapter()
Constructor that will retrieve the useUserAgent attribute value fromEPPEnv.
-
-
Method Detail
-
adaptLogin
public 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.- Specified by:
adaptLoginin interfaceEPPLoginAdapter- 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
-
-