Package com.sun.xml.wss.impl.callback
Class PropertyCallback
java.lang.Object
com.sun.xml.wss.impl.callback.XWSSCallback
com.sun.xml.wss.impl.callback.PropertyCallback
- All Implemented Interfaces:
Callback
Deprecated.
This callback is no longer supported by the XWS-Security runtime, use the XWS-Security configuration
file to set the above property values instead.
This callback is an optional callback that can be handled by an
implementation of CallbackHandler to specify the values of properties
configurable with XWS-Security runtime. The properties are:
- MAX_CLOCK_SKEW : The assumed maximum skew (milliseconds) between the local times of any two systems
- TIMESTAMP_FRESHNESS_LIMIT : The period (milliseconds) for which a Timestamp is considered fresh
- MAX_NONCE_AGE : The length of time (milliseconds) a previously received Nonce value will be stored
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longDeprecated.static final longDeprecated.static final longDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.longDeprecated.longDeprecated.voidsetMaxClockSkew(long skew) Deprecated.voidsetMaxNonceAge(long maxNonceAge) Deprecated.voidsetTimestampFreshnessLimit(long freshnessLimit) Deprecated.Methods inherited from class com.sun.xml.wss.impl.callback.XWSSCallback
getRuntimeProperties
-
Field Details
-
MAX_NONCE_AGE
public static final long MAX_NONCE_AGEDeprecated.- See Also:
-
MAX_CLOCK_SKEW
public static final long MAX_CLOCK_SKEWDeprecated.- See Also:
-
TIMESTAMP_FRESHNESS_LIMIT
public static final long TIMESTAMP_FRESHNESS_LIMITDeprecated.- See Also:
-
-
Constructor Details
-
PropertyCallback
public PropertyCallback()Deprecated.
-
-
Method Details
-
setMaxClockSkew
public void setMaxClockSkew(long skew) Deprecated.- Parameters:
skew- the assumed maximum skew (milliseconds) between the local times of any two systems
-
getMaxClockSkew
public long getMaxClockSkew()Deprecated.- Returns:
- the maximum clock skew
-
setTimestampFreshnessLimit
public void setTimestampFreshnessLimit(long freshnessLimit) Deprecated.- Parameters:
freshnessLimit- the period (milliseconds) for which a Timestamp is considered fresh
-
getTimestampFreshnessLimit
public long getTimestampFreshnessLimit()Deprecated.- Returns:
- the Timestamp Freshness Limit
-
setMaxNonceAge
public void setMaxNonceAge(long maxNonceAge) Deprecated.- Parameters:
maxNonceAge- The length of time (milliseconds) a previously received Nonce value will be stored Implementation Note: The actual time for which any Nonce will be stored can be greater than maxNonceAge. In some cases when the implementation is unable to determine a receiver side policy ahead of processing the Message, the maxNonceAge value used will be a default value of 30 mins.
-
getMaxNonceAge
public long getMaxNonceAge()Deprecated.- Returns:
- the Maximum Nonce Age value
-