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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | 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.

- - ### Method Detail

    - #### adaptLogin

          void adaptLogin​(EPPLoginCmd aLoginCmd,
                          EPPGreeting aGreeting)
                   throws EPPCommandException

      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.
      Parameters:
        `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`.
      Throws:
        `EPPCommandException` - Error found with adapting the login