Java Doc for TimestampPolicy.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » impl » policy » mls » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » xws security » com.sun.xml.wss.impl.policy.mls 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.wss.impl.policy.mls.WSSPolicy
   com.sun.xml.wss.impl.policy.mls.TimestampPolicy

TimestampPolicy
public class TimestampPolicy extends WSSPolicy (Code)
A policy representing a WSS Timestamp element. Note: The TimestampPolicy is the only WSSPolicy element that does not contain a concrete FeatureBinding and/or KeyBinding.


Field Summary
static  SimpleDateFormatformatter
    
static  SimpleDateFormatformatter1
    

Constructor Summary
public  TimestampPolicy()
    

Method Summary
public  Objectclone()
    
public  booleanequals(WSSPolicy policy)
    
public  booleanequalsIgnoreTargets(WSSPolicy policy)
    
public  StringgetCreationTime()
    
public  StringgetExpirationTime()
    
public  longgetMaxClockSkew()
    
public  longgetTimeout()
    
public  longgetTimestampFreshness()
    
public  StringgetType()
    
public  voidsetCreationTime(String creationTime)
    
public  voidsetExpirationTime(String expirationTime)
    
public  voidsetMaxClockSkew(long maxClockSkew)
    
public  voidsetTimeout(long timeout)
     If the current time on a receiving system is past the CreationTime of the timestamp plus the timeout, then the timestamp is to be considered expired.
public  voidsetTimestampFreshness(long timestampFreshness)
     set the Timestamp Freshness Limit (in milliseconds) for this Timestamp Timestamps received by a receiver with creation Times older than the Timestamp Freshness Limit period are supposed to be rejected by the receiver.

Field Detail
formatter
static SimpleDateFormat formatter(Code)



formatter1
static SimpleDateFormat formatter1(Code)




Constructor Detail
TimestampPolicy
public TimestampPolicy()(Code)
Default constructor




Method Detail
clone
public Object clone()(Code)
Clone operator clone of this policy



equals
public boolean equals(WSSPolicy policy)(Code)

Parameters:
  policy - the policy to be compared for equality true if the argument policy is equal to this



equalsIgnoreTargets
public boolean equalsIgnoreTargets(WSSPolicy policy)(Code)



getCreationTime
public String getCreationTime()(Code)
creationTime the creation time of the timestamp in thisTimestampPolicy if set, empty string otherwise



getExpirationTime
public String getExpirationTime() throws Exception(Code)
expirationTime the expiration time if set for this Timestamp, empty string otherwise



getMaxClockSkew
public long getMaxClockSkew()(Code)
maxClockSkew the maximum Clock Skew adjustment



getTimeout
public long getTimeout()(Code)
timeout the Timeout in milliseconds for this Timestamp



getTimestampFreshness
public long getTimestampFreshness()(Code)
timeStampFreshness limit



getType
public String getType()(Code)
the type of the policy



setCreationTime
public void setCreationTime(String creationTime)(Code)
set the CreationTime for the timestamp in this TimestampPolicy
Parameters:
  creationTime -



setExpirationTime
public void setExpirationTime(String expirationTime)(Code)

Parameters:
  expirationTime - the expiration time



setMaxClockSkew
public void setMaxClockSkew(long maxClockSkew)(Code)
set the maximum clock skew adjustment value (in milliseconds)
Parameters:
  maxClockSkew - the Maximum Clock Skew adjustment to be usedwhen validating received timestamps



setTimeout
public void setTimeout(long timeout)(Code)
If the current time on a receiving system is past the CreationTime of the timestamp plus the timeout, then the timestamp is to be considered expired.
Parameters:
  timeout - the number of milliseconds after which the Timestamp in thisTimestampPolicy will expire.



setTimestampFreshness
public void setTimestampFreshness(long timestampFreshness)(Code)
set the Timestamp Freshness Limit (in milliseconds) for this Timestamp Timestamps received by a receiver with creation Times older than the Timestamp Freshness Limit period are supposed to be rejected by the receiver.
Parameters:
  timestampFreshness - the Timestamp Freshness Limit (in milliseconds)



Fields inherited from com.sun.xml.wss.impl.policy.mls.WSSPolicy
protected String UUID(Code)(Java Doc)
protected MLSPolicy _featureBinding(Code)(Java Doc)
protected boolean _isOptional(Code)(Java Doc)
protected MLSPolicy _keyBinding(Code)(Java Doc)
protected String _policyIdentifier(Code)(Java Doc)
protected boolean bsp(Code)(Java Doc)

Methods inherited from com.sun.xml.wss.impl.policy.mls.WSSPolicy
abstract public Object clone()(Code)(Java Doc)
abstract public boolean equals(WSSPolicy policy)(Code)(Java Doc)
abstract public boolean equalsIgnoreTargets(WSSPolicy policy)(Code)(Java Doc)
public MLSPolicy getFeatureBinding()(Code)(Java Doc)
public MLSPolicy getKeyBinding()(Code)(Java Doc)
public String getPolicyIdentifier()(Code)(Java Doc)
public String getUUID()(Code)(Java Doc)
public void isBSP(boolean flag)(Code)(Java Doc)
public boolean isBSP()(Code)(Java Doc)
public boolean isOptional()(Code)(Java Doc)
public void isOptional(boolean isOptional)(Code)(Java Doc)
public void setFeatureBinding(MLSPolicy policy)(Code)(Java Doc)
public void setKeyBinding(MLSPolicy policy)(Code)(Java Doc)
public void setPolicyIdentifier(String pi)(Code)(Java Doc)
public void setUUID(String uuid)(Code)(Java Doc)

w_w_w___.___ja__v_a___2__s___._com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.