com.sun.xml.wss.impl.callback
Class PropertyCallback

java.lang.Object
  extended by com.sun.xml.wss.impl.callback.XWSSCallback
      extended by com.sun.xml.wss.impl.callback.PropertyCallback
All Implemented Interfaces:
javax.security.auth.callback.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.

public class PropertyCallback
extends XWSSCallback
implements javax.security.auth.callback.Callback

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

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
Constructor Detail

PropertyCallback

public PropertyCallback()
Deprecated. 
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


Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.