Package com.verisign.epp.serverstub
Class SecDNSV11SubDomainHandler
java.lang.Object
com.verisign.epp.serverstub.SecDNSV11SubDomainHandler
- All Implemented Interfaces:
SecDNSSubDomainHandler
The
SecDNSV11SubDomainHandler class is a concrete
SecDNSSubDomainHandler for version 1.1 of the secDNS extension. It is
wrapped by the wrapping SecDNSDomainHandler to support multiple
versions of the secDNS extension. Any version 1.1 specific behavior is
handled by SecDNSV11SubDomainHandler.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoDomainCreate(EPPDomainCreateCmd aCreateCommand, Object aData) Handle an EPP Domain Create Command for version 1.1 of the secDNS extension.doDomainInfo(EPPDomainInfoCmd aInfoCommand, EPPDomainInfoResp aInfoResponse, Object aData) Handle an EPP Domain Info Command.doDomainUpdate(EPPDomainUpdateCmd aUpdateCommand, Object aData) Handle an EPP Domain Update Command for version 1.1 of the secDNS extension.
-
Constructor Details
-
SecDNSV11SubDomainHandler
public SecDNSV11SubDomainHandler()
-
-
Method Details
-
doDomainCreate
Handle an EPP Domain Create Command for version 1.1 of the secDNS extension. The following is the handling by input domain name:
key-data-interface.com- Only support the Key Data Interface, meaning if DS data is passed that a 2306 error will be returned.ds-data-interface.com- Only support the DS Data Interface, meaning if Key data is passed that a 2306 error will be returned.maxsiglife-not-supported.com- If the maxSigLife element is included, a 2102 error is returned due to lack of support.- default - Log the input at info level and return a successful EPP response.
- Specified by:
doDomainCreatein interfaceSecDNSSubDomainHandler- Parameters:
aCreateCommand- Command sent by the clientaData- Server data. This is assumed to be an instance ofSessionData.- Returns:
- An
EPPResponseto be returned to the client. The transaction id (client and server) is not set.
-
doDomainUpdate
Handle an EPP Domain Update Command for version 1.1 of the secDNS extension. The following is the handling by input domain name:
urgent-not-supported.com- If the urgent attribute is true, a 2102 error is returned due to lack of support.urgent-supported-cannot-be-urgent.com- If the urgent attribute is true, a 2306 error is returned due to the inability to complete the command with high priority.key-data-interface.com- Only support the Key Data Interface, meaning if DS data is passed that a 2306 error will be returned.ds-data-interface.com- Only support the DS Data Interface, meaning if Key data is passed that a 2306 error will be returned.maxsiglife-not-supported.com- If the maxSigLife element is included with a secDNS:chg, a 2102 error is returned due to lack of support.- default - Log the input at info level and return a successful EPP response.
- Specified by:
doDomainUpdatein interfaceSecDNSSubDomainHandler- Parameters:
aUpdateCommand- Command sent by the clientaData- Server data. This is assumed to be an instance ofSessionData.- Returns:
- An
EPPResponseto be returned to the client. The transaction id (client and server) is not set.
-
doDomainInfo
public EPPDomainInfoResp doDomainInfo(EPPDomainInfoCmd aInfoCommand, EPPDomainInfoResp aInfoResponse, Object aData) Handle an EPP Domain Info Command. The following is the handling by input domain name:
key-data-interface.com- Return response with two keys using the Key Data Interface.ds-data-interface-with-key.com- Return response with two DS including the associated keys using the DS Data Interface.ds-data-interface-with-maxsiglife.com- Return response with two DS using the DS Data Interface and with the <secDNS:maxSigLife> element.- default - Return response with two DS using DS Data Interface.
- Specified by:
doDomainInfoin interfaceSecDNSSubDomainHandler- Parameters:
aInfoCommand- Command sent by the clientaInfoResponse- Response filled in without the secDNS extension.aData- Server data. This is assumed to be an instance ofSessionData.- Returns:
- An
EPPDomainInfoRespto be returned to the client with the secDNS extension attached.
-