|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.xml.wss.impl.callback.XWSSCallback com.sun.xml.wss.impl.callback.PropertyCallback
public class PropertyCallback
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:
Field Summary | |
---|---|
static long |
MAX_CLOCK_SKEW
Deprecated. |
static long |
MAX_NONCE_AGE
Deprecated. |
static long |
TIMESTAMP_FRESHNESS_LIMIT
Deprecated. |
Constructor Summary | |
---|---|
PropertyCallback()
Deprecated. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long MAX_NONCE_AGE
public static final long MAX_CLOCK_SKEW
public static final long TIMESTAMP_FRESHNESS_LIMIT
Constructor Detail |
---|
public PropertyCallback()
Method Detail |
---|
public void setMaxClockSkew(long skew)
skew
- the assumed maximum skew (milliseconds) between the local times of any two systemspublic long getMaxClockSkew()
public void setTimestampFreshnessLimit(long freshnessLimit)
freshnessLimit
- the period (milliseconds) for which a Timestamp is considered freshpublic long getTimestampFreshnessLimit()
public void setMaxNonceAge(long maxNonceAge)
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.public long getMaxNonceAge()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |