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
public class PropertyCallback extends XWSSCallback implements 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
Fields Modifier and Type Field Description static long
MAX_CLOCK_SKEW
Deprecated.static long
MAX_NONCE_AGE
Deprecated.static long
TIMESTAMP_FRESHNESS_LIMIT
Deprecated.
-
Constructor Summary
Constructors Constructor Description PropertyCallback()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getMaxClockSkew()
Deprecated.long
getMaxNonceAge()
Deprecated.long
getTimestampFreshnessLimit()
Deprecated.void
setMaxClockSkew(long skew)
Deprecated.void
setMaxNonceAge(long maxNonceAge)
Deprecated.void
setTimestampFreshnessLimit(long freshnessLimit)
Deprecated.-
Methods inherited from class com.sun.xml.wss.impl.callback.XWSSCallback
getRuntimeProperties
-
-
-
-
Field Detail
-
MAX_NONCE_AGE
public static final long MAX_NONCE_AGE
Deprecated.- See Also:
- Constant Field Values
-
MAX_CLOCK_SKEW
public static final long MAX_CLOCK_SKEW
Deprecated.- See Also:
- Constant Field Values
-
TIMESTAMP_FRESHNESS_LIMIT
public static final long TIMESTAMP_FRESHNESS_LIMIT
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-