Class 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
    • 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