Java Doc for MessagePolicy.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) 


java.lang.Object
   com.sun.xml.wss.impl.policy.mls.MessagePolicy

MessagePolicy
public class MessagePolicy implements SecurityPolicy(Code)
Represents an ordered collection of Security Policies


Field Summary
final protected static  Loggerlog
    

Constructor Summary
public  MessagePolicy()
    

Method Summary
public  voidaddOptionalTarget(Target target)
    
public  voidaddOptionalTargets(ArrayList optionls)
    
public  voidappend(SecurityPolicy item)
    
public  voidappendAll(Collection items)
    
public  voiddumpMessages(boolean dump)
    
public  booleandumpMessages()
    
public  voidenableDynamicPolicy(boolean flag)
    
public  booleanenableDynamicPolicy()
    
public  voidenableSignatureConfirmation(boolean flag)
    
public  booleanenableSignatureConfirmation()
    
public  voidenableWSS11Policy(boolean flag)
    
public  booleanenableWSS11Policy()
    
public  booleanequals(MessagePolicy policy)
    
public  SecurityPolicyget(int index)
    
public  AlgorithmSuitegetAlgorithmSuite()
    
public  MessageLayoutgetLayout()
    
public  intgetOptimizedType()
    
public  ArrayListgetPrimaryPolicies()
    
public  ArrayListgetSecondaryPolicies()
    
public  StringgetType()
    
public  WSSAssertiongetWSSAssertion()
    
public  voidinsertBefore(SecurityPolicy existing, SecurityPolicy additional)
    
public  voidisBSP(boolean flag)
    
public  booleanisBSP()
    
public  booleanisEmpty()
    
public  booleanisSSL()
    
public  Iteratoriterator()
    
public  voidprepend(SecurityPolicy item)
    
public  voidremove(SecurityPolicy item)
    
public  voidremoveAll()
    
public  voidremoveOptionalTargets()
    
public  voidsetAlgorithmSuite(AlgorithmSuite algSuite)
    
public  voidsetLayout(MessageLayout layout)
    
public  voidsetSSL(boolean value)
    
public  voidsetWSSAssertion(WSSAssertion wssAssertion)
    
public  intsize()
    

Field Detail
log
final protected static Logger log(Code)




Constructor Detail
MessagePolicy
public MessagePolicy()(Code)
Construct an Empty MessagePolicy




Method Detail
addOptionalTarget
public void addOptionalTarget(Target target)(Code)



addOptionalTargets
public void addOptionalTargets(ArrayList optionls) throws XWSSecurityException(Code)



append
public void append(SecurityPolicy item) throws PolicyGenerationException(Code)
Append a SecurityPolicy
Parameters:
  item - SecurityPolicy instance to be appended
throws:
  PolicyGenerationException - if the policy being appended isnot an instance of WSSPolicy



appendAll
public void appendAll(Collection items) throws PolicyGenerationException(Code)
Append a policy collection
Parameters:
  items - Collection of SecurityPolicy instances to be appended
throws:
  PolicyGenerationException -



dumpMessages
public void dumpMessages(boolean dump)(Code)

Parameters:
  dump - set it to true if messages should be Logged



dumpMessages
public boolean dumpMessages()(Code)
true if logging of messages is enabled



enableDynamicPolicy
public void enableDynamicPolicy(boolean flag)(Code)



enableDynamicPolicy
public boolean enableDynamicPolicy()(Code)



enableSignatureConfirmation
public void enableSignatureConfirmation(boolean flag) throws PolicyGenerationException(Code)



enableSignatureConfirmation
public boolean enableSignatureConfirmation()(Code)



enableWSS11Policy
public void enableWSS11Policy(boolean flag)(Code)



enableWSS11Policy
public boolean enableWSS11Policy()(Code)



equals
public boolean equals(MessagePolicy policy)(Code)
Equals operator
Parameters:
  policy - MessagePolicy to be compared for equality true if the policy is equal to this policy



get
public SecurityPolicy get(int index) throws Exception(Code)
Get the Security policy at the specified index
Parameters:
  index - index to the policy collection SecurityPolicy instance at the specified index
throws:
  Exception - if a policy could not be retrieved



getAlgorithmSuite
public AlgorithmSuite getAlgorithmSuite()(Code)



getLayout
public MessageLayout getLayout()(Code)



getOptimizedType
public int getOptimizedType() throws XWSSecurityException(Code)



getPrimaryPolicies
public ArrayList getPrimaryPolicies()(Code)



getSecondaryPolicies
public ArrayList getSecondaryPolicies()(Code)



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



getWSSAssertion
public WSSAssertion getWSSAssertion()(Code)



insertBefore
public void insertBefore(SecurityPolicy existing, SecurityPolicy additional) throws PolicyGenerationException(Code)
Insert the additional policy before the existing policy
Parameters:
  existing - SecurityPolicy instance before which the additional policy needs to be inserted
Parameters:
  additional - SecurityPolicy instance to be inserted
throws:
  PolicyGenerationException - if the policy to be inserted is not an instance of WSSPolicy,or there is an error in inserting the policy



isBSP
public void isBSP(boolean flag)(Code)



isBSP
public boolean isBSP()(Code)



isEmpty
public boolean isEmpty()(Code)
true if collection is empty



isSSL
public boolean isSSL()(Code)



iterator
public Iterator iterator()(Code)
Iterator iterator on policy collection



prepend
public void prepend(SecurityPolicy item) throws PolicyGenerationException(Code)
Prepend a SecurityPolicy
Parameters:
  item - SecurityPolicy instance to be prepended
throws:
  PolicyGenerationException - if the policy being prepended isnot an instance of WSSPolicy



remove
public void remove(SecurityPolicy item)(Code)
remove the specified SecurityPolicy
Parameters:
  item - the SecurityPolicy instance to be removed



removeAll
public void removeAll()(Code)
clear this policy collection



removeOptionalTargets
public void removeOptionalTargets()(Code)



setAlgorithmSuite
public void setAlgorithmSuite(AlgorithmSuite algSuite)(Code)



setLayout
public void setLayout(MessageLayout layout)(Code)



setSSL
public void setSSL(boolean value)(Code)



setWSSAssertion
public void setWSSAssertion(WSSAssertion wssAssertion) throws PolicyGenerationException(Code)



size
public int size()(Code)
size of policy collection



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

ww___w_.__j_a__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.