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


java.lang.Object
   javax.xml.soap.SOAPMessage
      com.sun.xml.wss.impl.SecurableSoapMessage

SecurableSoapMessage
final public class SecurableSoapMessage extends SOAPMessage (Code)


Field Summary
 Randomrnd
    
static  XPathFactoryxpathFactory
    

Constructor Summary
public  SecurableSoapMessage()
    
public  SecurableSoapMessage(SOAPMessage soapMessage)
    

Method Summary
public  voidaddAttachmentPart(AttachmentPart AttachmentPart)
    
public  intcountAttachments()
    
public  AttachmentPartcreateAttachmentPart()
    
public  AttachmentPartcreateAttachmentPart(Object content, String contentType)
    
public  AttachmentPartcreateAttachmentPart(DataHandler dataHandler)
    
public  voiddeleteSecurityHeader()
    
public  booleanequals(Object obj)
    
public  SecurityHeaderfindOrCreateSecurityHeader()
    
public  SecurityHeaderfindSecurityHeader()
    
public  SecurityHeaderfindWsseSecurityHeaderBlock(boolean doCreate, boolean mustUnderstand)
     Finds wsse:Security Header Block.
public  voidgenerateFault(WssSoapFaultException sfe)
    
public  StringgenerateId()
    
public  voidgenerateSecurityHeaderException(String exceptionMessage)
     Create and initialize a SecurityHeaderException, and throw a fault based on it.
public  voidgenerateWsuId(Element element)
    
public  voidgenerateWsuId(Element element, String id)
    
public  AttachmentPartgetAttachment(SOAPElement element)
    
public  AttachmentPartgetAttachmentPart(String uri)
    
public  IteratorgetAttachments()
    
public  IteratorgetAttachments(MimeHeaders headers)
    
public  StringgetContentDescription()
    
public  ElementgetElementById(String id)
    
public  SOAPElementgetElementByWsuId(String id)
    
public  SOAPEnvelopegetEnvelope()
    
public static  StringgetIdFromFragmentRef(String ref)
    
public  ObjectgetMessageParts(Target target)
    
public  MimeHeadersgetMimeHeaders()
    
public  NamespaceContextgetNamespaceContext()
    
public  ObjectgetProperty(String property)
    
public  SOAPBodygetSOAPBody()
    
public  SOAPHeadergetSOAPHeader()
    
public  SOAPMessagegetSOAPMessage()
    
public  SOAPPartgetSOAPPart()
    
public  inthashCode()
    
public  voidinit(SOAPMessage soapMessage)
    
public  booleanisOptimized()
    
public static  WssSoapFaultExceptionnewSOAPFaultException(String faultstring, Throwable th)
     Create and initialize a WssSoapFaultException.
public static  WssSoapFaultExceptionnewSOAPFaultException(QName faultCode, String faultstring, Throwable th)
     Create and initialize a WssSoapFaultException.
public  voidremoveAllAttachments()
    
public  voidremoveAttachments(MimeHeaders hdrs)
    
public  voidresetMustUnderstandOnSecHeader()
    
public  voidsaveChanges()
    
public  booleansaveRequired()
    
public  voidsetContentDescription(String description)
    
public  voidsetOptimized(boolean optimized)
    
public  voidsetProperty(String property, Object value)
    
public  voidsetSOAPMessage(SOAPMessage soapMsg)
    
public  StringtoString()
    
public  voidwriteTo(OutputStream out)
    

Field Detail
rnd
Random rnd(Code)



xpathFactory
static XPathFactory xpathFactory(Code)




Constructor Detail
SecurableSoapMessage
public SecurableSoapMessage()(Code)



SecurableSoapMessage
public SecurableSoapMessage(SOAPMessage soapMessage) throws XWSSecurityException(Code)

Parameters:
  soapMessage -




Method Detail
addAttachmentPart
public void addAttachmentPart(AttachmentPart AttachmentPart)(Code)



countAttachments
public int countAttachments()(Code)



createAttachmentPart
public AttachmentPart createAttachmentPart()(Code)



createAttachmentPart
public AttachmentPart createAttachmentPart(Object content, String contentType)(Code)



createAttachmentPart
public AttachmentPart createAttachmentPart(DataHandler dataHandler)(Code)



deleteSecurityHeader
public void deleteSecurityHeader()(Code)
Delete security header



equals
public boolean equals(Object obj)(Code)



findOrCreateSecurityHeader
public SecurityHeader findOrCreateSecurityHeader() throws XWSSecurityException(Code)
Finds or creates wsse:Security Header wsse:Security header
throws:
  XWSSecurityException -



findSecurityHeader
public SecurityHeader findSecurityHeader() throws XWSSecurityException(Code)
Finds wsse:Security Header returns null if wsse:Security header not found
throws:
  XWSSecurityException -



findWsseSecurityHeaderBlock
public SecurityHeader findWsseSecurityHeaderBlock(boolean doCreate, boolean mustUnderstand) throws XWSSecurityException(Code)
Finds wsse:Security Header Block.
Parameters:
  doCreate - create one if none exists wsse:Security header
throws:
  XWSSecurityException -



generateFault
public void generateFault(WssSoapFaultException sfe) throws XWSSecurityException(Code)

Parameters:
  sfe -
throws:
  XWSSecurityException -



generateId
public String generateId() throws XWSSecurityException(Code)
an ID unique w.r.t this SOAPMessage



generateSecurityHeaderException
public void generateSecurityHeaderException(String exceptionMessage) throws SecurityHeaderException, XWSSecurityException(Code)
Create and initialize a SecurityHeaderException, and throw a fault based on it. The faultstring for this exception is wsse:InvalidSecurity as per section 12 on Error Handling of the wss SOAPMessageSecurity spec (draft 17). This fault stands for An error was discovered processing the wsse:Security header.



generateWsuId
public void generateWsuId(Element element) throws XWSSecurityException(Code)

Parameters:
  element -



generateWsuId
public void generateWsuId(Element element, String id) throws XWSSecurityException(Code)

Parameters:
  element -
Parameters:
  id - ID specified should be unique in the message.



getAttachment
public AttachmentPart getAttachment(SOAPElement element) throws SOAPException(Code)



getAttachmentPart
public AttachmentPart getAttachmentPart(String uri) throws XWSSecurityException(Code)



getAttachments
public Iterator getAttachments()(Code)



getAttachments
public Iterator getAttachments(MimeHeaders headers)(Code)



getContentDescription
public String getContentDescription()(Code)



getElementById
public Element getElementById(String id) throws XWSSecurityException(Code)



getElementByWsuId
public SOAPElement getElementByWsuId(String id) throws XWSSecurityException(Code)



getEnvelope
public SOAPEnvelope getEnvelope() throws XWSSecurityException(Code)



getIdFromFragmentRef
public static String getIdFromFragmentRef(String ref)(Code)



getMessageParts
public Object getMessageParts(Target target) throws XWSSecurityException(Code)



getMimeHeaders
public MimeHeaders getMimeHeaders()(Code)



getNamespaceContext
public NamespaceContext getNamespaceContext() throws XWSSecurityException(Code)



getProperty
public Object getProperty(String property) throws SOAPException(Code)



getSOAPBody
public SOAPBody getSOAPBody() throws SOAPException(Code)



getSOAPHeader
public SOAPHeader getSOAPHeader() throws SOAPException(Code)



getSOAPMessage
public SOAPMessage getSOAPMessage()(Code)



getSOAPPart
public SOAPPart getSOAPPart()(Code)



hashCode
public int hashCode()(Code)



init
public void init(SOAPMessage soapMessage) throws XWSSecurityException(Code)



isOptimized
public boolean isOptimized()(Code)



newSOAPFaultException
public static WssSoapFaultException newSOAPFaultException(String faultstring, Throwable th)(Code)
Create and initialize a WssSoapFaultException. This method is used in conjunction with generateClientFault.



newSOAPFaultException
public static WssSoapFaultException newSOAPFaultException(QName faultCode, String faultstring, Throwable th)(Code)
Create and initialize a WssSoapFaultException. This method is used in conjunction with generateClientFault.



removeAllAttachments
public void removeAllAttachments()(Code)



removeAttachments
public void removeAttachments(MimeHeaders hdrs)(Code)



resetMustUnderstandOnSecHeader
public void resetMustUnderstandOnSecHeader()(Code)
Make Security Header Non-MustUnderstand



saveChanges
public void saveChanges() throws SOAPException(Code)



saveRequired
public boolean saveRequired()(Code)



setContentDescription
public void setContentDescription(String description)(Code)



setOptimized
public void setOptimized(boolean optimized)(Code)



setProperty
public void setProperty(String property, Object value) throws SOAPException(Code)



setSOAPMessage
public void setSOAPMessage(SOAPMessage soapMsg) throws XWSSecurityException(Code)



toString
public String toString()(Code)



writeTo
public void writeTo(OutputStream out) throws SOAPException, IOException(Code)



Fields inherited from javax.xml.soap.SOAPMessage
final public static String CHARACTER_SET_ENCODING(Code)(Java Doc)
final public static String WRITE_XML_DECLARATION(Code)(Java Doc)

Methods inherited from javax.xml.soap.SOAPMessage
abstract public void addAttachmentPart(AttachmentPart AttachmentPart)(Code)(Java Doc)
abstract public int countAttachments()(Code)(Java Doc)
abstract public AttachmentPart createAttachmentPart()(Code)(Java Doc)
public AttachmentPart createAttachmentPart(DataHandler dataHandler)(Code)(Java Doc)
public AttachmentPart createAttachmentPart(Object content, String contentType)(Code)(Java Doc)
abstract public AttachmentPart getAttachment(SOAPElement element) throws SOAPException(Code)(Java Doc)
abstract public Iterator getAttachments()(Code)(Java Doc)
abstract public Iterator getAttachments(MimeHeaders headers)(Code)(Java Doc)
abstract public String getContentDescription()(Code)(Java Doc)
abstract public MimeHeaders getMimeHeaders()(Code)(Java Doc)
public Object getProperty(String property) throws SOAPException(Code)(Java Doc)
public SOAPBody getSOAPBody() throws SOAPException(Code)(Java Doc)
public SOAPHeader getSOAPHeader() throws SOAPException(Code)(Java Doc)
abstract public SOAPPart getSOAPPart()(Code)(Java Doc)
abstract public void removeAllAttachments()(Code)(Java Doc)
abstract public void removeAttachments(MimeHeaders headers)(Code)(Java Doc)
abstract public void saveChanges() throws SOAPException(Code)(Java Doc)
abstract public boolean saveRequired()(Code)(Java Doc)
abstract public void setContentDescription(String description)(Code)(Java Doc)
public void setProperty(String property, Object value) throws SOAPException(Code)(Java Doc)
abstract public void writeTo(OutputStream out) throws SOAPException, IOException(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.