Package com.sun.xml.wss.impl.callback
Class TimestampValidationCallback.UTCTimestampRequest
- java.lang.Object
-
- com.sun.xml.wss.impl.callback.TimestampValidationCallback.UTCTimestampRequest
-
- All Implemented Interfaces:
TimestampValidationCallback.Request
- Enclosing class:
- TimestampValidationCallback
public static class TimestampValidationCallback.UTCTimestampRequest extends Object implements TimestampValidationCallback.Request
-
-
Constructor Summary
Constructors Constructor Description UTCTimestampRequest(String created, String expired, long maxClockSkew, long timestampFreshnessLimit)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreated()StringgetExpired()longgetMaxClockSkew()longgetTimestampFreshnessLimit()booleanisUsernameToken()Check if the Timestamp Created value is coming from UsernameTokenvoidisUsernameToken(boolean isUsernameToken)Set it to true if the Created Timestamp present inside UsernameToken needs to be validated.
-
-
-
Constructor Detail
-
UTCTimestampRequest
public UTCTimestampRequest(String created, String expired, long maxClockSkew, long timestampFreshnessLimit)
Constructor.- Parameters:
created-java.lang.Stringrepresentaion of Creation time.expired-java.lang.Stringrepresentation 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.
-
-
Method Detail
-
isUsernameToken
public void isUsernameToken(boolean isUsernameToken)
Set it to true if the Created Timestamp present inside UsernameToken needs to be validated.
-
isUsernameToken
public boolean isUsernameToken()
Check if the Timestamp Created value is coming from UsernameToken- Returns:
- true if Created is inside UsernameToken else false
-
getCreated
public String getCreated()
-
getExpired
public String getExpired()
-
getMaxClockSkew
public long getMaxClockSkew()
-
getTimestampFreshnessLimit
public long getTimestampFreshnessLimit()
-
-