Package com.verisign.epp.serverstub.v1_0
Class LoginSecV1_0GenHandler
java.lang.Object
com.verisign.epp.serverstub.v1_0.LoginSecV1_0GenHandler
- All Implemented Interfaces:
LoginSecSubGenHandler
The
LoginSecV04GenHandler implements the LoginSecSubGenHandler
interface to handle version "1.0" of the login security extension.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHandle the login command using version 0.1 (v1_0) of the login security extension.
-
Constructor Details
-
LoginSecV1_0GenHandler
public LoginSecV1_0GenHandler()
-
-
Method Details
-
doLogin
Handle the login command using version 0.1 (v1_0) of the login security extension. This handler will log which password and which new password (EPPLoginCmd or EPPLoginSec extension) is used for authentication. In addition, the login security events will be returned based on predefined login identifiers (clientId), which include:
- test-expiring-pw - Will successfully login and return the password expiring warning that the password will expire in a week.
- test-expired-pw - Will fail the login and return an authentication error response with the password expired error.
- test-all-events - Will successfully login and will return the full list of security events in the response.
- Specified by:
doLoginin interfaceLoginSecSubGenHandler- Parameters:
aEvent- Event must contain an EPPLoginCmd for handlingaData- Extra server data, which isSessionDatafor the Stub Server.- Returns:
- Response to handling the login command
-