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 byEPPSession
to customize theEPPLoginCmd
prior to sending it. Both the server'sEPPGreeting
and the originalEPPLoginCmd
is provided. The adapter can modify theEPPLoginCmd
that will then be sent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
adaptLogin(EPPLoginCmd aLoginCmd, EPPGreeting aGreeting)
Adapt theEPPLoginCmd
aLoginCmd
parameter based on the current state of theEPPLoginCmd
and the contents of theEPPGreeting
aGreeting
parameter sent by the server.
-
-
-
Method Detail
-
adaptLogin
void adaptLogin(EPPLoginCmd aLoginCmd, EPPGreeting aGreeting) throws EPPCommandException
Adapt theEPPLoginCmd
aLoginCmd
parameter based on the current state of theEPPLoginCmd
and the contents of theEPPGreeting
aGreeting
parameter sent by the server.- Parameters:
aLoginCmd
- OriginalEPPLoginCmd
created byEPPSession
that can be adapted by the concreteEPPLoginAdapter
.aGreeting
-EPPGreeting
returned by the server that can be used to drive the adapting of theEPPLoginCmd
.- Throws:
EPPCommandException
- Error found with adapting the login
-
-