|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebserviceTimestampMBean
Encapsulates the timestamp information that is associated with a Web Service security configuration.
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
long |
getClockPrecision()
DEPRECATED -- Use set/getClockSkew() -- If both ClockSkew and ClockPrecision are defined, then ClockSkew takes precedence and is used. |
long |
getClockSkew()
ClockSkew takes precedence over ClockPrecision if both are defined, as ClockPrecision has been DEPRECATED. |
long |
getMaxProcessingDelay()
Specifies the freshness policy for received messages: the Web Service observes the processing delay by subtracting the Created time in the Timestamp from the current time. |
int |
getValidityPeriod()
Represents the length of time the sender wants the outbound message to be valid. |
boolean |
isClockSynchronized()
Specifies whether the Web Service assumes synchronized clocks. |
boolean |
isLaxPrecision()
DEPRECATED. |
void |
setClockPrecision(long clockPrecision)
Sets the value of the ClockPrecision attribute. |
void |
setClockSkew(long clockSkew)
Sets the value of the ClockSkew attribute. |
void |
setClockSynchronized(boolean b)
Sets the value of the ClockSynchronized attribute. |
void |
setLaxPrecision(boolean b)
Sets the value of the LaxPrecision attribute. |
void |
setMaxProcessingDelay(long maxProcessingDelay)
Sets the value of the maxProcessingDelay attribute. |
void |
setValidityPeriod(int validityPeriod)
Sets the value of the ValidityPeriod attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
void setClockSynchronized(boolean b)
b
- synchronize clock or notboolean isClockSynchronized()
Specifies whether the Web Service assumes synchronized clocks.
If the clockSynchronized attribute is false, the Web Service rejects all inbound messages with that contain expirations, because this is the only safe way to ensure that the message hasn't already expired. In this case, the Web Service also does not enforce a freshness policy.
If this attribute is set to true, then the Web Service enforces expirations on inbound messages to the best of its ability and enforces an optional freshness policy (via maxProcessingDelay).
The default value of this attribute is true.
void setClockPrecision(long clockPrecision)
long getClockPrecision()
If clocks are synchronized, this attribute describes the accuracy of the synchronization.
void setClockSkew(long clockSkew)
long getClockSkew()
ClockSkew takes precedence over ClockPrecision if both are defined, as ClockPrecision has been DEPRECATED.
If clocks are synchronized, this attribute describes the accuracy of the synchronization between two clocks: the client and the server.
ClockSkew is expressed in milliseconds. Clock skew is enforced by rendering all times into milliseconds since a common time 0 and using these times for comparisons. For example, if you're clocks are accurate to within 1 minute of each other, you would set your skew to 1 minute * 60 seconds * 1000 milliseconds or 60000.
void setLaxPrecision(boolean b)
boolean isLaxPrecision()
DEPRECATED.
void setMaxProcessingDelay(long maxProcessingDelay)
long getMaxProcessingDelay()
Specifies the freshness policy for received messages: the Web Service observes the processing delay by subtracting the Created time in the Timestamp from the current time.
If the observed processing delay is greater than maxProcessingDelay plus clockSkew, then the message is rejected as stale.
This attribute is specified in milliseconds.
Setting maxProcessingDelay to NO_MAX_PROCESSING_DELAY disables to enforcement of the freshness policy.
void setValidityPeriod(int validityPeriod)
validityPeriod
- int getValidityPeriod()
Represents the length of time the sender wants the outbound message to be valid.
When the validityPeriod is positive, the TimestampHandler inserts an Expires element into the Timestamp header. The validityPeriod is expressed in seconds: the Expires time will be that many seconds ahead of the Timestamp's Created time.
|
Copyright 1996, 2014, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |