Class AuthTokenHandler
java.lang.Object
com.verisign.epp.framework.authtoken.v01.EPPAuthTokenHandler
com.verisign.epp.serverstub.authtoken.v01.AuthTokenHandler
- All Implemented Interfaces:
EPPEventHandler
The
AuthTokenHandler class is a concrete implementation of the
abstract com.verisign.epp.framework.EPPAuthTokenHandler class. It
defines the Server's response to all received EPP Host Commands. - See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoAuthTokenCheck(EPPEvent aEvent, Object aData) Invoked when an AuthToken Check command is received.protected EPPEventResponsedoAuthTokenCreate(EPPEvent aEvent, Object aData) Invoked when a AuthToken Create command is received.protected EPPEventResponsedoAuthTokenDelete(EPPEvent aEvent, Object aData) Invoked when an AuthToken Delete command is received.protected EPPEventResponsedoAuthTokenInfo(EPPEvent aEvent, Object aData) Invoked when an AuthToken Info command is received.protected voidpostHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all AuthToken commands need to execute after they execute their command specific behavior.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all AuthToken commands need to execute before they execute their command specific behavior.Methods inherited from class com.verisign.epp.framework.authtoken.v01.EPPAuthTokenHandler
getNamespace, handleEvent
-
Field Details
-
KEYSTORE_FILENAME
- See Also:
-
TRUSTSTORE_FILENAME
- See Also:
-
KEYSTORE_PASSWORD
- See Also:
-
-
Constructor Details
-
AuthTokenHandler
public AuthTokenHandler()Constructs an instance of AuthTokenHandler
-
-
Method Details
-
preHandleEvent
Handles any common behavior that all AuthToken commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEventin classEPPAuthTokenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPAuthTokenHandlerThis is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
postHandleEvent
Handles any common behavior that all AuthToken commands need to execute after they execute their command specific behavior.- Overrides:
postHandleEventin classEPPAuthTokenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPAuthTokenHandler- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doAuthTokenCheck
Invoked when an AuthToken Check command is received. Subclasses should define the behavior when an AuthToken Check command is received.- Specified by:
doAuthTokenCheckin classEPPAuthTokenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPAuthTokenHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doAuthTokenCreate
Invoked when a AuthToken Create command is received.- Specified by:
doAuthTokenCreatein classEPPAuthTokenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPAuthTokendHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doAuthTokenInfo
Invoked when an AuthToken Info command is received. Subclasses should define the behavior when an AuthToken Info command is received.- Specified by:
doAuthTokenInfoin classEPPAuthTokenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPAuthTokenHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doAuthTokenDelete
Invoked when an AuthToken Delete command is received. Subclasses should define the behavior when an AuthToken Delete command is received.- Specified by:
doAuthTokenDeletein classEPPAuthTokenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPAuthTokenHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-