public static class TimestampValidationCallback.UTCTimestampRequest extends Object implements TimestampValidationCallback.Request
| Constructor and Description |
|---|
UTCTimestampRequest(String created,
String expired,
long maxClockSkew,
long timestampFreshnessLimit)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCreated() |
String |
getExpired() |
long |
getMaxClockSkew() |
long |
getTimestampFreshnessLimit() |
boolean |
isUsernameToken()
Check if the Timestamp Created value is coming from UsernameToken
|
void |
isUsernameToken(boolean isUsernameToken)
Set it to true if the Created Timestamp present inside
UsernameToken needs to be validated.
|
public UTCTimestampRequest(String created, String expired, long maxClockSkew, long timestampFreshnessLimit)
created - java.lang.String representaion of Creation time.expired - java.lang.String representation of Expiration time.maxClockSkew - representing the max time difference between sender's
system time and receiver's system time in milliseconds.timestampFreshnessLimit - representing the maximum time interval for nonce
cache removal.public void isUsernameToken(boolean isUsernameToken)
public boolean isUsernameToken()
public String getCreated()
public String getExpired()
public long getMaxClockSkew()
public long getTimestampFreshnessLimit()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.