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


com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
   com.sun.xml.wss.core.BinarySecurityToken

All known Subclasses:   com.sun.xml.wss.core.X509SecurityToken,
BinarySecurityToken
public class BinarySecurityToken extends SecurityHeaderBlockImpl implements SecurityToken(Code)
A wsse:BinarySecurityToken.
author:
   Manveen Kaur
author:
   Edwin Goei


Field Summary
protected  StringencodedText
    
protected  StringencodingType
    
final protected static  Loggerlog
    
protected  DocumentsoapDoc
    
protected  StringvalueType
    
protected  StringwsuId
    

Constructor Summary
 BinarySecurityToken(Document document, String wsuId, String valueType)
    
 BinarySecurityToken(SOAPElement binTokenSoapElement)
    
 BinarySecurityToken(SOAPElement binTokenSoapElement, boolean isBSP)
    

Method Summary
public  SOAPElementgetAsSoapElement()
    
public  StringgetEncodingType()
    
public  StringgetId()
    
public  byte[]getRawValue()
     returns the decoded value of the text node.
public  StringgetTextValue()
     get the actual value of the text node.
public  StringgetValueType()
    
protected  voidsetEncodingType(String encodingType)
    
protected  voidsetId(String wsuId)
    
protected  voidsetRawValue(byte[] rawText)
    
protected  voidsetTextValue(String encodedText)
     set the value of the text node.
protected  voidsetValueType(String valueType)
    

Field Detail
encodedText
protected String encodedText(Code)



encodingType
protected String encodingType(Code)
Default encoding



log
final protected static Logger log(Code)



soapDoc
protected Document soapDoc(Code)



valueType
protected String valueType(Code)
Valid values are: #X509v3 #X509PKIPathv1 #PKCS7



wsuId
protected String wsuId(Code)




Constructor Detail
BinarySecurityToken
BinarySecurityToken(Document document, String wsuId, String valueType) throws SecurityTokenException(Code)



BinarySecurityToken
BinarySecurityToken(SOAPElement binTokenSoapElement) throws SecurityTokenException(Code)



BinarySecurityToken
BinarySecurityToken(SOAPElement binTokenSoapElement, boolean isBSP) throws SecurityTokenException(Code)




Method Detail
getAsSoapElement
public SOAPElement getAsSoapElement() throws SecurityTokenException(Code)



getEncodingType
public String getEncodingType()(Code)



getId
public String getId()(Code)



getRawValue
public byte[] getRawValue() throws SecurityTokenException(Code)
returns the decoded value of the text node.



getTextValue
public String getTextValue() throws XWSSecurityException(Code)
get the actual value of the text node. This will typically be encoded. It is the onus of the filter to decode this before operation upon it.



getValueType
public String getValueType()(Code)



setEncodingType
protected void setEncodingType(String encodingType)(Code)



setId
protected void setId(String wsuId)(Code)



setRawValue
protected void setRawValue(byte[] rawText)(Code)



setTextValue
protected void setTextValue(String encodedText)(Code)
set the value of the text node. It is assumed that the filter would have already encoded the value appropriately.



setValueType
protected void setValueType(String valueType)(Code)



Fields inherited from com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
protected SOAPElement delegateElement(Code)(Java Doc)

Methods inherited from com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
public SOAPElement addAttribute(Name arg0, String arg1) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(String arg0) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(String arg0, String arg1) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(String arg0, String arg1, String arg2) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(Name arg0) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc)
public SOAPElement addNamespaceDeclaration(String arg0, String arg1) throws SOAPException(Code)(Java Doc)
public SOAPElement addTextNode(String arg0) throws SOAPException(Code)(Java Doc)
public Node appendChild(Node arg0) throws DOMException(Code)(Java Doc)
public Node cloneNode(boolean arg0)(Code)(Java Doc)
public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException(Code)(Java Doc)
public void detachNode()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public static SecurityHeaderBlock fromSoapElement(SOAPElement element, Class implClass) throws XWSSecurityException(Code)(Java Doc)
public Iterator getAllAttributes()(Code)(Java Doc)
public Iterator getAllAttributesAsQNames()(Code)(Java Doc)
public SOAPElement getAsSoapElement() throws XWSSecurityException(Code)(Java Doc)
public String getAttribute(String arg0)(Code)(Java Doc)
public String getAttributeNS(String arg0, String arg1)(Code)(Java Doc)
public Attr getAttributeNode(String arg0)(Code)(Java Doc)
public Attr getAttributeNodeNS(String arg0, String arg1)(Code)(Java Doc)
public String getAttributeValue(Name arg0)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public String getBaseURI()(Code)(Java Doc)
public Iterator getChildElements()(Code)(Java Doc)
public Iterator getChildElements(Name arg0)(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
public Name getElementName()(Code)(Java Doc)
public NodeList getElementsByTagName(String arg0)(Code)(Java Doc)
public NodeList getElementsByTagNameNS(String arg0, String arg1)(Code)(Java Doc)
public String getEncodingStyle()(Code)(Java Doc)
public Object getFeature(String feature, String version)(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public Iterator getNamespacePrefixes()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public String getNamespaceURI(String arg0)(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getNodeValue() throws DOMException(Code)(Java Doc)
public Document getOwnerDocument()(Code)(Java Doc)
public SOAPElement getParentElement()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public TypeInfo getSchemaTypeInfo()(Code)(Java Doc)
protected static SOAPFactory getSoapFactory()(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
public String getTextContent() throws DOMException(Code)(Java Doc)
public Object getUserData(String key)(Code)(Java Doc)
public String getValue()(Code)(Java Doc)
public Iterator getVisibleNamespacePrefixes()(Code)(Java Doc)
public boolean hasAttribute(String arg0)(Code)(Java Doc)
public boolean hasAttributeNS(String arg0, String arg1)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
public Node insertBefore(Node arg0, Node arg1) throws DOMException(Code)(Java Doc)
public void isBSP(boolean flag)(Code)(Java Doc)
public boolean isBSP()(Code)(Java Doc)
public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc)
public boolean isEqualNode(org.w3c.dom.Node arg)(Code)(Java Doc)
public boolean isSameNode(org.w3c.dom.Node other)(Code)(Java Doc)
public boolean isSupported(String arg0, String arg1)(Code)(Java Doc)
public String lookupNamespaceURI(String prefix)(Code)(Java Doc)
public String lookupPrefix(String namespaceURI)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public void recycleNode()(Code)(Java Doc)
public void removeAttribute(String arg0) throws DOMException(Code)(Java Doc)
public boolean removeAttribute(Name arg0)(Code)(Java Doc)
public void removeAttributeNS(String arg0, String arg1) throws DOMException(Code)(Java Doc)
public Attr removeAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc)
public Node removeChild(Node arg0) throws DOMException(Code)(Java Doc)
public void removeContents()(Code)(Java Doc)
public boolean removeNamespaceDeclaration(String arg0)(Code)(Java Doc)
public Node replaceChild(Node arg0, Node arg1) throws DOMException(Code)(Java Doc)
public void setAttribute(String arg0, String arg1) throws DOMException(Code)(Java Doc)
public void setAttributeNS(String arg0, String arg1, String arg2) throws DOMException(Code)(Java Doc)
public Attr setAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc)
public Attr setAttributeNodeNS(Attr arg0) throws DOMException(Code)(Java Doc)
public void setEncodingStyle(String arg0) throws SOAPException(Code)(Java Doc)
public void setIdAttribute(String name, boolean isId) throws DOMException(Code)(Java Doc)
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException(Code)(Java Doc)
public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException(Code)(Java Doc)
public void setNodeValue(String arg0) throws DOMException(Code)(Java Doc)
public void setParentElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc)
public void setPrefix(String arg0) throws DOMException(Code)(Java Doc)
protected void setSOAPElement(SOAPElement delegateElement)(Code)(Java Doc)
public void setTextContent(String textContent) throws DOMException(Code)(Java Doc)
public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc)
public void setValue(String arg0)(Code)(Java Doc)
protected void setWsuIdAttr(Element element, String wsuId)(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.