← Prev in month ← Prev in thread

Issue with test case TC-DLOGIN-2-20, Request Count and leaseTime are zero?

From
Mark Joseph <>
Date
2018-12-21T22:52:38+00:00
ID
Thread
Issue with test case TC-DLOGIN-2-20, Request Count and leaseTime are zero?
Also on this test should both RequestCount and LeastTime be zero??
LeaseTime of zero is also used in TC-DLOGIN-1-20 test as well.

 <BatchItem>

    <Operation type="Enumeration" value="DelegatedLogin"/>

    <RequestPayload>

      <LeaseTime type="Interval" value="0"/>

      <RequestCount type="Integer" value="0"/>

      <Rights>

        <Right>

          <Operations>

BTW reading the "Delegated Login" and "Login" operation descriptions it does not say what happens if Request Count and/or Lease Time are not provided in the message since they are both optional.

I would assume that the ticket can be used however long it is desired but the spec should be explicit and say that.   However, is that case different from zero values??

Best,

Mark Joseph

P6R, Inc

408-205-0361

From:

 
Mark Joseph <>

To:

 
Tim Hudson <>, "" <>

Cc:

 
OASIS KMIP Technical Committee <>

Sent:
 

12/21/2018 2:24 PM

Subject:

 
[kmip] Issue with test case TC-DLOGIN-2-20, Result reason spelling error

The specification has a different spelling for this result reason which will be an issue in the XML and JSON tests 

		
		
		

			
				
Not
				Authorised

			
			
				
00000039

			
		

	

<ResponseMessage>

  <ResponseHeader>

    <ProtocolVersion>

      <ProtocolVersionMajor type="Integer" value="2"/>

      <ProtocolVersionMinor type="Integer" value="0"/>

    </ProtocolVersion>

    <TimeStamp type="DateTime" value="$NOW"/>

    <ServerCorrelationValue type="TextString" value="A10AD7B7-A3B6C0A0-9"/>

    <BatchCount type="Integer" value="1"/>

  </ResponseHeader>

  <BatchItem>

    <Operation type="Enumeration" value="Get"/>

    <ResultStatus type="Enumeration" value="OperationFailed"/>

    <ResultReason type="Enumeration" value="NotAuthorized"/>

    <ResultMessage type="TextString" value="DENIED"/>

  </BatchItem>

</ResponseMessage>

Best,

Mark Joseph

P6R, Inc

408-205-0361
← Prev in month ← Prev in thread