public class EPPLoginSecLoginAdapter extends java.lang.Object implements EPPLoginAdapter
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.Constructor and Description |
---|
EPPLoginSecLoginAdapter()
Constructor that will retrieve the useUserAgent attribute value from
EPPEnv . |
Modifier and Type | Method and Description |
---|---|
void |
adaptLogin(EPPLoginCmd aLoginCmd,
EPPGreeting aGreeting)
Adapt the
EPPLoginCmd aLoginCmd parameter based on
the current state of the EPPLoginCmd and the contents of the
EPPGreeting aGreeting parameter sent by the server. |
public EPPLoginSecLoginAdapter()
EPPEnv
.public void adaptLogin(EPPLoginCmd aLoginCmd, EPPGreeting aGreeting) throws EPPCommandException
EPPLoginCmd
aLoginCmd
parameter based on
the current state of the EPPLoginCmd
and the contents of the
EPPGreeting
aGreeting
parameter sent by the server.adaptLogin
in interface EPPLoginAdapter
aLoginCmd
- Original EPPLoginCmd
created by EPPSession
that
can be adapted by the concrete EPPLoginAdapter
.aGreeting
- EPPGreeting
returned by the server that can be used to
drive the adapting of the EPPLoginCmd
.EPPCommandException
- Error found with adapting the loginCopyright © VeriSign Inc. All Rights Reserved.