Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.xml.security.specs
Class TimestampConfig

java.lang.Object
  extended by weblogic.xml.security.utils.XMLSerializable
      extended by weblogic.xml.security.specs.TimestampConfig
All Implemented Interfaces:
SpecConstants

Deprecated. please use new WS Security API

public final class TimestampConfig
extends weblogic.xml.security.utils.XMLSerializable
implements SpecConstants


Field Summary
static String ASSUME_SYNCHRONIZED_CLOCKS
          Deprecated. System property that sets the default assumption for whether or not clocks are synchronized.
static String CLOCK_PRECISION
          Deprecated. System property that sets the default clock precision for the server, specified in milliseconds.
static String GENERATE_TIMESTAMP
          Deprecated. System property that sets whether timestamps generated and inserted in outbound messages.
static String LAX_CLOCK_PRECISION
          Deprecated. System property that sets the default behavior for clock precision -- whether or not to enforce the clock precision on policies and expiries.
static String MAX_PROCESSING_DELAY
          Deprecated. System property that sets the maximum allowable processing delay in seconds.
static int NO_EXPIRATION
          Deprecated. if VALIDITY_PERIOD is set to this value, requests will not include an expiry.
static int NO_MAX_PROCESSING_DELAY
          Deprecated. If MAX_PROCESSING_DELAY is set to this value, no maximum delay will be enforced.
static String REQUIRE_TIMESTAMP
          Deprecated. System property that determines the default setting for whether or not the handler requires a timestamp on inbound messages.
static String VALIDITY_PERIOD
          Deprecated. System property that determines for how long generated requests should be valid in seconds.
 
Fields inherited from interface weblogic.xml.security.specs.SpecConstants
ATTR_CANONICALIZATION_METHOD, ATTR_ENCODING, ATTR_ENCRYPT_BODY, ATTR_ENCRYPTION_METHOD, ATTR_ID, ATTR_KEY_ALIAS, ATTR_KEY_PASSWORD, ATTR_KEYWRAPPING_METHOD, ATTR_LOCALPART, ATTR_NAMESPACE, ATTR_PASSWORDTYPE, ATTR_REALM, ATTR_REF_ID, ATTR_RESTRICTION, ATTR_SIGN_BODY, ATTR_SIGNATURE_METHOD, ATTR_VALUETYPE, DEFAULT_PREFIX, RESTRICTION_BODY, RESTRICTION_HEADER, SOAP_ATTR_ROLE, SOAP_ENV_PREFIX, SPEC_URI, TAG_BINARY_SECURITY_TOKEN_SPEC, TAG_CLOCK_PRECISION, TAG_CLOCKS_SYNCHRONIZED, TAG_DD_SECURITY, TAG_ENCRYPTION_KEY, TAG_ENCRYPTION_SPEC, TAG_ENFORCE_PRECISION, TAG_ENTITY_NAME, TAG_ENTITY_PASSWORD, TAG_FRESHNESS, TAG_GENERATE_TS, TAG_REQUIRE_TS, TAG_SECURITY_SPEC, TAG_SECURITY_SPEC_REF, TAG_SIGNATURE_KEY, TAG_SIGNATURE_SPEC, TAG_TS_CONFIG, TAG_TYPE_IDENTIFIER, TAG_USER, TAG_USERNAME_TOKEN_SPEC, TAG_VALIDITY, XSD_FALSE, XSD_TRUE
 
Constructor Summary
TimestampConfig()
          Deprecated.  
TimestampConfig(boolean clocksSynchronized, long clockPrecision, boolean laxPrecision, long maxDelay, boolean generateTimestamp, long expiration, boolean requireTimestamp)
          Deprecated.  
TimestampConfig(XMLInputStream input)
          Deprecated.  
TimestampConfig(weblogic.xml.security.utils.XMLReader reader)
          Deprecated.  
 
Method Summary
 void addTimestamp(SecuritySpec spec, Security element)
          Deprecated.  
 void checkExpiration(Calendar now, Calendar created, Calendar expiry)
          Deprecated.  
 void checkTimestamps(Security security, MessageContext context)
          Deprecated.  
 TimestampConfig copy()
          Deprecated.  
protected  void fromXMLInternal(weblogic.xml.security.utils.XMLReader reader)
          Deprecated.  
 boolean generateTimestamp()
          Deprecated.  
 long getClockPrecision()
          Deprecated.  
 long getMaxProcessingDelay()
          Deprecated.  
 long getRoundedMaxDelay()
          Deprecated.  
 long getRoundedTime(Calendar cal)
          Deprecated.  
 long getValidityPeriod()
          Deprecated.  
 boolean includeExpiry()
          Deprecated.  
 boolean isClockSynchronized()
          Deprecated.  
 boolean isFreshnessEnforced()
          Deprecated.  
 boolean isTimestampRequired()
          Deprecated.  
 boolean laxClockPrecision()
          Deprecated.  
 void setClockPrecision(long clockPrecision)
          Deprecated.  
 void setClockSynchronized(boolean clockSynchronized)
          Deprecated.  
 void setGenerateTimestamp(boolean generateTimestamp)
          Deprecated.  
 void setLaxPrecision(boolean laxPrecision)
          Deprecated.  
 void setMaxProcessingDelay(long maxProcessingDelay)
          Deprecated.  
 void setTimestampRequired(boolean timestampRequired)
          Deprecated.  
 void setValidityPeriod(long validityPeriod)
          Deprecated.  
 String toString()
          Deprecated.  
 void toXML(weblogic.xml.security.utils.XMLWriter writer)
          Deprecated.  
 
Methods inherited from class weblogic.xml.security.utils.XMLSerializable
fromXMLInternal, fromXMLInternal, skip, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASSUME_SYNCHRONIZED_CLOCKS

public static final String ASSUME_SYNCHRONIZED_CLOCKS
Deprecated. 
System property that sets the default assumption for whether or not clocks are synchronized. If property is unset, the default if true;

See Also:
Constant Field Values

CLOCK_PRECISION

public static final String CLOCK_PRECISION
Deprecated. 
System property that sets the default clock precision for the server, specified in milliseconds. All times are enforced +/- (clockPrecision / 2 );

See Also:
Constant Field Values

LAX_CLOCK_PRECISION

public static final String LAX_CLOCK_PRECISION
Deprecated. 
System property that sets the default behavior for clock precision -- whether or not to enforce the clock precision on policies and expiries. If false, policies and expiries that require greater precision than available for accurate enforcement are rejected. The default is false.

See Also:
Constant Field Values

MAX_PROCESSING_DELAY

public static final String MAX_PROCESSING_DELAY
Deprecated. 
System property that sets the maximum allowable processing delay in seconds. Messages with Created dates that exceed this delay are rejected as stale. If this property is not set, the default behavior is not to enforce a maximum processing delay. This property may only be set we are assuming synchronized clocks.

See Also:
Constant Field Values

GENERATE_TIMESTAMP

public static final String GENERATE_TIMESTAMP
Deprecated. 
System property that sets whether timestamps generated and inserted in outbound messages.

See Also:
Constant Field Values

VALIDITY_PERIOD

public static final String VALIDITY_PERIOD
Deprecated. 
System property that determines for how long generated requests should be valid in seconds. Validity periods are enforced via the Expires element in the Timestamp header. When the validity period is set, the Expires time is set to now + validity period seconds. If this property is unset, the default is not to generate an Expires in the timestamp. This property may only be set when clocks are assumed to be synchronized.

See Also:
Constant Field Values

REQUIRE_TIMESTAMP

public static final String REQUIRE_TIMESTAMP
Deprecated. 
System property that determines the default setting for whether or not the handler requires a timestamp on inbound messages. This is a boolean value.

See Also:
Constant Field Values

NO_MAX_PROCESSING_DELAY

public static final int NO_MAX_PROCESSING_DELAY
Deprecated. 
If MAX_PROCESSING_DELAY is set to this value, no maximum delay will be enforced.

See Also:
Constant Field Values

NO_EXPIRATION

public static final int NO_EXPIRATION
Deprecated. 
if VALIDITY_PERIOD is set to this value, requests will not include an expiry.

See Also:
Constant Field Values
Constructor Detail

TimestampConfig

public TimestampConfig(XMLInputStream input)
                throws XMLStreamException
Deprecated. 
Throws:
XMLStreamException

TimestampConfig

public TimestampConfig(weblogic.xml.security.utils.XMLReader reader)
                throws weblogic.xml.security.utils.ValidationException
Deprecated. 
Throws:
weblogic.xml.security.utils.ValidationException

TimestampConfig

public TimestampConfig()
Deprecated. 

TimestampConfig

public TimestampConfig(boolean clocksSynchronized,
                       long clockPrecision,
                       boolean laxPrecision,
                       long maxDelay,
                       boolean generateTimestamp,
                       long expiration,
                       boolean requireTimestamp)
Deprecated. 
Method Detail

isClockSynchronized

public boolean isClockSynchronized()
Deprecated. 

getMaxProcessingDelay

public long getMaxProcessingDelay()
Deprecated. 

getRoundedMaxDelay

public long getRoundedMaxDelay()
Deprecated. 

getClockPrecision

public long getClockPrecision()
Deprecated. 

laxClockPrecision

public boolean laxClockPrecision()
Deprecated. 

generateTimestamp

public boolean generateTimestamp()
Deprecated. 

includeExpiry

public boolean includeExpiry()
Deprecated. 

getValidityPeriod

public long getValidityPeriod()
Deprecated. 

isFreshnessEnforced

public boolean isFreshnessEnforced()
Deprecated. 

setClockSynchronized

public void setClockSynchronized(boolean clockSynchronized)
Deprecated. 

setClockPrecision

public void setClockPrecision(long clockPrecision)
Deprecated. 

getRoundedTime

public long getRoundedTime(Calendar cal)
Deprecated. 

setLaxPrecision

public void setLaxPrecision(boolean laxPrecision)
Deprecated. 

setMaxProcessingDelay

public void setMaxProcessingDelay(long maxProcessingDelay)
Deprecated. 

setGenerateTimestamp

public void setGenerateTimestamp(boolean generateTimestamp)
Deprecated. 

setValidityPeriod

public void setValidityPeriod(long validityPeriod)
Deprecated. 

isTimestampRequired

public boolean isTimestampRequired()
Deprecated. 

setTimestampRequired

public void setTimestampRequired(boolean timestampRequired)
Deprecated. 

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

toXML

public void toXML(weblogic.xml.security.utils.XMLWriter writer)
Deprecated. 
Specified by:
toXML in class weblogic.xml.security.utils.XMLSerializable

copy

public TimestampConfig copy()
Deprecated. 

fromXMLInternal

protected void fromXMLInternal(weblogic.xml.security.utils.XMLReader reader)
                        throws weblogic.xml.security.utils.ValidationException
Deprecated. 
Specified by:
fromXMLInternal in class weblogic.xml.security.utils.XMLSerializable
Throws:
weblogic.xml.security.utils.ValidationException

checkExpiration

public void checkExpiration(Calendar now,
                            Calendar created,
                            Calendar expiry)
Deprecated. 

checkTimestamps

public void checkTimestamps(Security security,
                            MessageContext context)
Deprecated. 

addTimestamp

public void addTimestamp(SecuritySpec spec,
                         Security element)
Deprecated. 

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06