Java Doc for SecurityPoliciesTest.java in  » 6.0-JDK-Modules-com.sun » wsit » com » sun » xml » ws » security » impl » policy » 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 » wsit » com.sun.xml.ws.security.impl.policy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.ws.security.impl.policy.SecurityPoliciesTest

SecurityPoliciesTest
public class SecurityPoliciesTest extends TestCase (Code)

author:
   K.Venugopal@SUN.com
author:
   Mayank.Mishra@SUN.com



Constructor Summary
public  SecurityPoliciesTest(String testName)
    

Method Summary
public  EncryptionPolicyaddEncryptKeyBinding(EncryptionPolicy policy, String type, String ref)
    
public  voidaddQTToSPTList(WSSPolicy policy, SignaturePolicy sp)
    
public  SignaturePolicyaddSignKeyBinding(SignaturePolicy policy, String type, String ref)
    
public  voidaddToSPTList(WSSPolicy policy, SignaturePolicy sp)
    
public  voidcompare(MessagePolicy expectedPolicy, MessagePolicy generated)
    
public  booleancompareEncryptionPolicy(WSSPolicy wp1, WSSPolicy wp2)
    
public  booleancomparePolicies(MessagePolicy policy1, MessagePolicy policy2)
    
public  booleancompareSignaturePolicy(WSSPolicy wp1, WSSPolicy wp2)
    
public  booleancompileMessagePolicies(MessagePolicy pol1, MessagePolicy pol2)
    
public  List<String>createAddressingHeaderQNameList()
    
public  MessagePolicycreateClientIncomingPolicy(int scenario)
    
public  MessagePolicycreateClientOutgoingPolicy(int scenario)
    
public  EncryptionPolicycreateEncryptionPolicy(List<EncryptionTarget> targetList)
    
public  List<EncryptionTarget>createEncryptionTargetBody(boolean contentonlyflag)
    
public  List<EncryptionTarget>createEncryptionTargetBodyAllHeader(boolean contentonlyflag)
    
public  List<EncryptionTarget>createEncryptionTargetBodyAndUT(boolean contentonlyflag)
    
public  List<EncryptionTarget>createEncryptionTargetBodySelectedHeader(List<String> targetqname, boolean contentonlyflag, List<String> targetType)
    
public  List<EncryptionTarget>createEncryptionTargetList(List<String> targetType, List<String> targetValue, List<Boolean> contentOnly, List<List<EncryptionTarget.Transform>> transformList)
    
public  MessagePolicycreateScenario10ClientIncoming()
    
public  MessagePolicycreateScenario10ClientOutgoing()
    
public  MessagePolicycreateScenario11ClientIncoming()
    
public  MessagePolicycreateScenario11ClientOutgoing()
    
public  MessagePolicycreateScenario1ClientIncoming()
    
public  MessagePolicycreateScenario1ClientOutgoing()
    
public  MessagePolicycreateScenario1ServerIncoming()
    
public  MessagePolicycreateScenario21ClientIncoming()
    
public  MessagePolicycreateScenario21ClientOutgoing()
    
public  MessagePolicycreateScenario22ClientIncoming()
    
public  MessagePolicycreateScenario22ClientOutgoing()
    
public  MessagePolicycreateScenario23ClientIncoming()
    
public  MessagePolicycreateScenario23ClientOutgoing()
    
public  MessagePolicycreateScenario24ClientIncoming()
    
public  MessagePolicycreateScenario24ClientOutgoing()
    
public  MessagePolicycreateScenario2ClientIncoming()
    
public  MessagePolicycreateScenario2ClientOutgoing()
    
public  MessagePolicycreateScenario3ClientIncoming()
    
public  MessagePolicycreateScenario3ClientOutgoing()
    
public  MessagePolicycreateScenario4ClientIncoming()
    
public  MessagePolicycreateScenario4ClientOutgoing()
    
public  MessagePolicycreateScenario5ClientIncoming()
    
public  MessagePolicycreateScenario5ClientOutgoing()
    
public  MessagePolicycreateScenario5ServerIncoming()
    
public  MessagePolicycreateScenario6ClientIncoming()
    
public  MessagePolicycreateScenario6ClientOutgoing()
    
public  MessagePolicycreateScenario6ServerIncoming()
    
public  MessagePolicycreateScenario6ServerOutgoing()
    
public  MessagePolicycreateScenario7ClientIncoming()
    
public  MessagePolicycreateScenario7ClientOutgoing()
    
public  MessagePolicycreateScenario7ServerIncoming()
    
public  MessagePolicycreateScenario7ServerOutgoing()
    
public  MessagePolicycreateScenario8ClientIncoming()
    
public  MessagePolicycreateScenario8ClientOutgoing()
    
public  MessagePolicycreateServerIncomingPolicy(int scenario)
    
public  MessagePolicycreateServerOutgoingPolicy(int scenario)
    
public  SignaturePolicycreateSignaturePolicy(List<SignatureTarget> targetList)
    
public  List<SignatureTarget>createSignatureTargetBody(boolean contentonlyflag)
    
public  List<SignatureTarget>createSignatureTargetBodyAllHeader(boolean contentonlyflag)
    
public  List<SignatureTarget>createSignatureTargetBodySelectedHeader(List<String> targetqname, boolean contentonlyflag)
    
public  List<SignatureTarget>createSignatureTargetEndorsingSignature(boolean contentonlyflag)
    
public  List<SignatureTarget>createSignatureTargetList(List<String> targetType, List<String> targetValue, List<Boolean> contentOnly, List<List<SignatureTarget.Transform>> transformList)
    
public  AuthenticationTokenPolicycreateUTPolicy(String username, String pass, String nonce, boolean doDigest)
    
public  voidexecute(String filename, boolean isServer, boolean isIncoming, int scenario)
    
public  MessagePolicyexecuteTest(String fileName, boolean isServer, boolean isIncoming)
    
public  List<String>getList(String pattern)
    
public  booleanhasXPathTarget(String xpathExpr, Iterator itr)
    
public  booleanisHeaderPresent(QName expected, Iterator headers)
    
public  voidmodifyMessagePolicy(MessagePolicy msgPolicy)
    
public  voidprint(MessagePolicy generated)
    
protected  voidsetUp()
    
public static  Testsuite()
    
protected  voidtearDown()
    
public  voidtestInteropScenario3_1()
    
public  voidtestInteropScenario3_2()
    
public  voidtestInteropScenario3_3()
    
public  voidtestInteropScenario3_4()
    
public  voidtestInteropScenario3_5()
    
public  voidtestInteropScenario3_6()
    
public  voidtestInteropScenario3_7()
    
public  voidtestTimeStampCR6398675()
    
public  voidtestUMPolicy()
    
public  PolicyunmarshalPolicy(String xmlFile)
    


Constructor Detail
SecurityPoliciesTest
public SecurityPoliciesTest(String testName)(Code)




Method Detail
addEncryptKeyBinding
public EncryptionPolicy addEncryptKeyBinding(EncryptionPolicy policy, String type, String ref)(Code)



addQTToSPTList
public void addQTToSPTList(WSSPolicy policy, SignaturePolicy sp)(Code)



addSignKeyBinding
public SignaturePolicy addSignKeyBinding(SignaturePolicy policy, String type, String ref)(Code)



addToSPTList
public void addToSPTList(WSSPolicy policy, SignaturePolicy sp)(Code)



compare
public void compare(MessagePolicy expectedPolicy, MessagePolicy generated) throws Exception(Code)



compareEncryptionPolicy
public boolean compareEncryptionPolicy(WSSPolicy wp1, WSSPolicy wp2) throws Exception(Code)



comparePolicies
public boolean comparePolicies(MessagePolicy policy1, MessagePolicy policy2) throws Exception(Code)



compareSignaturePolicy
public boolean compareSignaturePolicy(WSSPolicy wp1, WSSPolicy wp2) throws Exception(Code)



compileMessagePolicies
public boolean compileMessagePolicies(MessagePolicy pol1, MessagePolicy pol2) throws Exception(Code)



createAddressingHeaderQNameList
public List<String> createAddressingHeaderQNameList()(Code)



createClientIncomingPolicy
public MessagePolicy createClientIncomingPolicy(int scenario) throws Exception(Code)



createClientOutgoingPolicy
public MessagePolicy createClientOutgoingPolicy(int scenario) throws Exception(Code)



createEncryptionPolicy
public EncryptionPolicy createEncryptionPolicy(List<EncryptionTarget> targetList)(Code)



createEncryptionTargetBody
public List<EncryptionTarget> createEncryptionTargetBody(boolean contentonlyflag)(Code)



createEncryptionTargetBodyAllHeader
public List<EncryptionTarget> createEncryptionTargetBodyAllHeader(boolean contentonlyflag)(Code)



createEncryptionTargetBodyAndUT
public List<EncryptionTarget> createEncryptionTargetBodyAndUT(boolean contentonlyflag)(Code)



createEncryptionTargetBodySelectedHeader
public List<EncryptionTarget> createEncryptionTargetBodySelectedHeader(List<String> targetqname, boolean contentonlyflag, List<String> targetType)(Code)



createEncryptionTargetList
public List<EncryptionTarget> createEncryptionTargetList(List<String> targetType, List<String> targetValue, List<Boolean> contentOnly, List<List<EncryptionTarget.Transform>> transformList)(Code)



createScenario10ClientIncoming
public MessagePolicy createScenario10ClientIncoming() throws Exception(Code)



createScenario10ClientOutgoing
public MessagePolicy createScenario10ClientOutgoing() throws Exception(Code)



createScenario11ClientIncoming
public MessagePolicy createScenario11ClientIncoming() throws Exception(Code)



createScenario11ClientOutgoing
public MessagePolicy createScenario11ClientOutgoing() throws Exception(Code)



createScenario1ClientIncoming
public MessagePolicy createScenario1ClientIncoming() throws Exception(Code)



createScenario1ClientOutgoing
public MessagePolicy createScenario1ClientOutgoing() throws Exception(Code)



createScenario1ServerIncoming
public MessagePolicy createScenario1ServerIncoming() throws Exception(Code)



createScenario21ClientIncoming
public MessagePolicy createScenario21ClientIncoming() throws Exception(Code)



createScenario21ClientOutgoing
public MessagePolicy createScenario21ClientOutgoing() throws Exception(Code)



createScenario22ClientIncoming
public MessagePolicy createScenario22ClientIncoming() throws Exception(Code)



createScenario22ClientOutgoing
public MessagePolicy createScenario22ClientOutgoing() throws Exception(Code)



createScenario23ClientIncoming
public MessagePolicy createScenario23ClientIncoming() throws Exception(Code)



createScenario23ClientOutgoing
public MessagePolicy createScenario23ClientOutgoing() throws Exception(Code)



createScenario24ClientIncoming
public MessagePolicy createScenario24ClientIncoming() throws Exception(Code)



createScenario24ClientOutgoing
public MessagePolicy createScenario24ClientOutgoing() throws Exception(Code)



createScenario2ClientIncoming
public MessagePolicy createScenario2ClientIncoming() throws Exception(Code)



createScenario2ClientOutgoing
public MessagePolicy createScenario2ClientOutgoing() throws Exception(Code)



createScenario3ClientIncoming
public MessagePolicy createScenario3ClientIncoming() throws Exception(Code)



createScenario3ClientOutgoing
public MessagePolicy createScenario3ClientOutgoing() throws Exception(Code)



createScenario4ClientIncoming
public MessagePolicy createScenario4ClientIncoming() throws Exception(Code)



createScenario4ClientOutgoing
public MessagePolicy createScenario4ClientOutgoing() throws Exception(Code)



createScenario5ClientIncoming
public MessagePolicy createScenario5ClientIncoming() throws Exception(Code)



createScenario5ClientOutgoing
public MessagePolicy createScenario5ClientOutgoing() throws Exception(Code)



createScenario5ServerIncoming
public MessagePolicy createScenario5ServerIncoming() throws Exception(Code)



createScenario6ClientIncoming
public MessagePolicy createScenario6ClientIncoming() throws Exception(Code)



createScenario6ClientOutgoing
public MessagePolicy createScenario6ClientOutgoing() throws Exception(Code)



createScenario6ServerIncoming
public MessagePolicy createScenario6ServerIncoming() throws Exception(Code)



createScenario6ServerOutgoing
public MessagePolicy createScenario6ServerOutgoing() throws Exception(Code)



createScenario7ClientIncoming
public MessagePolicy createScenario7ClientIncoming() throws Exception(Code)



createScenario7ClientOutgoing
public MessagePolicy createScenario7ClientOutgoing() throws Exception(Code)



createScenario7ServerIncoming
public MessagePolicy createScenario7ServerIncoming() throws Exception(Code)



createScenario7ServerOutgoing
public MessagePolicy createScenario7ServerOutgoing() throws Exception(Code)



createScenario8ClientIncoming
public MessagePolicy createScenario8ClientIncoming() throws Exception(Code)



createScenario8ClientOutgoing
public MessagePolicy createScenario8ClientOutgoing() throws Exception(Code)



createServerIncomingPolicy
public MessagePolicy createServerIncomingPolicy(int scenario) throws Exception(Code)



createServerOutgoingPolicy
public MessagePolicy createServerOutgoingPolicy(int scenario) throws Exception(Code)



createSignaturePolicy
public SignaturePolicy createSignaturePolicy(List<SignatureTarget> targetList)(Code)



createSignatureTargetBody
public List<SignatureTarget> createSignatureTargetBody(boolean contentonlyflag)(Code)



createSignatureTargetBodyAllHeader
public List<SignatureTarget> createSignatureTargetBodyAllHeader(boolean contentonlyflag)(Code)



createSignatureTargetBodySelectedHeader
public List<SignatureTarget> createSignatureTargetBodySelectedHeader(List<String> targetqname, boolean contentonlyflag)(Code)



createSignatureTargetEndorsingSignature
public List<SignatureTarget> createSignatureTargetEndorsingSignature(boolean contentonlyflag)(Code)



createSignatureTargetList
public List<SignatureTarget> createSignatureTargetList(List<String> targetType, List<String> targetValue, List<Boolean> contentOnly, List<List<SignatureTarget.Transform>> transformList)(Code)



createUTPolicy
public AuthenticationTokenPolicy createUTPolicy(String username, String pass, String nonce, boolean doDigest)(Code)



execute
public void execute(String filename, boolean isServer, boolean isIncoming, int scenario) throws Exception(Code)



executeTest
public MessagePolicy executeTest(String fileName, boolean isServer, boolean isIncoming) throws Exception(Code)



getList
public List<String> getList(String pattern)(Code)



hasXPathTarget
public boolean hasXPathTarget(String xpathExpr, Iterator itr)(Code)



isHeaderPresent
public boolean isHeaderPresent(QName expected, Iterator headers)(Code)



modifyMessagePolicy
public void modifyMessagePolicy(MessagePolicy msgPolicy)(Code)



print
public void print(MessagePolicy generated) throws Exception(Code)



setUp
protected void setUp() throws Exception(Code)



suite
public static Test suite()(Code)



tearDown
protected void tearDown() throws Exception(Code)



testInteropScenario3_1
public void testInteropScenario3_1() throws Exception(Code)



testInteropScenario3_2
public void testInteropScenario3_2() throws Exception(Code)



testInteropScenario3_3
public void testInteropScenario3_3() throws Exception(Code)



testInteropScenario3_4
public void testInteropScenario3_4() throws Exception(Code)



testInteropScenario3_5
public void testInteropScenario3_5() throws Exception(Code)



testInteropScenario3_6
public void testInteropScenario3_6() throws Exception(Code)



testInteropScenario3_7
public void testInteropScenario3_7() throws Exception(Code)



testTimeStampCR6398675
public void testTimeStampCR6398675() throws Exception(Code)



testUMPolicy
public void testUMPolicy() throws Exception(Code)



unmarshalPolicy
public Policy unmarshalPolicy(String xmlFile) throws Exception(Code)



w___w___w___.__j___a_va_2___s__.__c___o___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.