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

All known Subclasses:   com.sun.xml.wss.impl.policy.mls.EncryptionTarget,  com.sun.xml.wss.impl.policy.mls.SignatureTarget,
Target
public class Target (Code)


Field Summary
final public static  StringALL_MESSAGE_HEADERS
     All Message Headers targeted at ultimate receiver role should be integrity protected.
final public static  StringBODY
    
final public static  StringBODY1_2
    
final public static  QNameBODY_QNAME
    
final public static  QNameSIGNATURE_CONFIRMATION
    
final public static  StringTARGET_TYPE_VALUE_QNAME
    
final public static  StringTARGET_TYPE_VALUE_URI
    
final public static  StringTARGET_TYPE_VALUE_XPATH
    
final protected static  StringTARGET_VALUE_SOAP_BODY
    
 booleanbsp
    
 booleanheadersOnly
    

Constructor Summary
public  Target()
    
public  Target(String type, String value)
    
public  Target(String type, String value, boolean contentOnly)
     Constructor
Parameters:
  type - the type of the Target (should be one of TARGET_TYPE_VALUE_QNAME, TARGET_TYPE_VALUE_XPATH, TARGET_TYPE_VALUE_URI)
Parameters:
  value - the value of the Target
Parameters:
  contentOnly - the content-only flag.
public  Target(String type, String value, boolean contentOnly, boolean enforce)
     Constructor
Parameters:
  type - the type of the Target (should be one of TARGET_TYPE_VALUE_QNAME, TARGET_TYPE_VALUE_XPATH, TARGET_TYPE_VALUE_URI)
Parameters:
  value - the value of the Target
Parameters:
  contentOnly - the content-only flag.

Method Summary
public  StringconvertToXPATH()
    
public  booleangetContentOnly()
    
public  booleangetEnforce()
    
public  QNamegetPolicyQName()
    
public  QNamegetQName()
    
public  StringgetType()
    
public  StringgetValue()
    
public  StringgetXPathVersion()
     returns xpath version to be used if the Target Type is XPATH.
public  booleanisAttachment()
    
public  voidisBSP(boolean flag)
    
public  booleanisBSP()
    
public  voidisSOAPHeadersOnly(boolean headersOnly)
    
public  booleanisSOAPHeadersOnly()
    
public  voidsetContentOnly(boolean contentOnly)
    
public  voidsetEnforce(boolean enforce)
     set the enforcement flag, used when verifying Security on an inbound message.
public  voidsetPolicyName(QName policyQName)
    
public  voidsetQName(QName qname)
     Set the Target QName.
public  voidsetType(String type)
    
public  voidsetValue(String value)
    
public  voidsetXPathVersion(String version)
     sets xpath version to be used if the Target Type is XPATH.

Field Detail
ALL_MESSAGE_HEADERS
final public static String ALL_MESSAGE_HEADERS(Code)
All Message Headers targeted at ultimate receiver role should be integrity protected.



BODY
final public static String BODY(Code)



BODY1_2
final public static String BODY1_2(Code)



BODY_QNAME
final public static QName BODY_QNAME(Code)



SIGNATURE_CONFIRMATION
final public static QName SIGNATURE_CONFIRMATION(Code)



TARGET_TYPE_VALUE_QNAME
final public static String TARGET_TYPE_VALUE_QNAME(Code)
type-identifier for qname Target Type



TARGET_TYPE_VALUE_URI
final public static String TARGET_TYPE_VALUE_URI(Code)
type-identifier for uri Target Type



TARGET_TYPE_VALUE_XPATH
final public static String TARGET_TYPE_VALUE_XPATH(Code)
type-identifier for xpath Target Type



TARGET_VALUE_SOAP_BODY
final protected static String TARGET_VALUE_SOAP_BODY(Code)



bsp
boolean bsp(Code)



headersOnly
boolean headersOnly(Code)




Constructor Detail
Target
public Target()(Code)
Default constructor When used, it creates a default Target of type qname and a value of {http://schemas.xmlsoap.org/soap/envelope/}Body



Target
public Target(String type, String value)(Code)
Constructor
Parameters:
  type - the type of the Target (should be one of TARGET_TYPE_VALUE_QNAME, TARGET_TYPE_VALUE_XPATH, TARGET_TYPE_VALUE_URI)
Parameters:
  value - the value of the Target



Target
public Target(String type, String value, boolean contentOnly)(Code)
Constructor
Parameters:
  type - the type of the Target (should be one of TARGET_TYPE_VALUE_QNAME, TARGET_TYPE_VALUE_XPATH, TARGET_TYPE_VALUE_URI)
Parameters:
  value - the value of the Target
Parameters:
  contentOnly - the content-only flag. This flag is used to decide whether the whole Target or only its Markup(content) shouldbe Encrypted.



Target
public Target(String type, String value, boolean contentOnly, boolean enforce)(Code)
Constructor
Parameters:
  type - the type of the Target (should be one of TARGET_TYPE_VALUE_QNAME, TARGET_TYPE_VALUE_XPATH, TARGET_TYPE_VALUE_URI)
Parameters:
  value - the value of the Target
Parameters:
  contentOnly - the content-only flag. This flag is used to decide whether the whole Target or only its Markup(content) shouldbe Encrypted.
Parameters:
  enforce - when set to false, will cause the enclosing policy (SignaturePolicy/EncryptionPolicy) to consider the presence ofthis Target reference as optional, while verifying the Policy on the Receiver side.




Method Detail
convertToXPATH
public String convertToXPATH()(Code)
the Target value as a String representing an XPath expression



getContentOnly
public boolean getContentOnly()(Code)
true if the contentOnly flag on the Target was set, false otherwise



getEnforce
public boolean getEnforce()(Code)
true if this Target appearing under a Policy should be enforced, falseif it is optional.



getPolicyQName
public QName getPolicyQName()(Code)



getQName
public QName getQName()(Code)
the QName for the Target



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



getValue
public String getValue()(Code)
the value of the Target



getXPathVersion
public String getXPathVersion()(Code)
returns xpath version to be used if the Target Type is XPATH.



isAttachment
public boolean isAttachment()(Code)
true if this Target represents an Attachment



isBSP
public void isBSP(boolean flag)(Code)



isBSP
public boolean isBSP()(Code)



isSOAPHeadersOnly
public void isSOAPHeadersOnly(boolean headersOnly)(Code)

Parameters:
  headersOnly - is set to true, indicates only headers should be processed bythis targetTo be set by Policy



isSOAPHeadersOnly
public boolean isSOAPHeadersOnly()(Code)
true if only the headers should be processed, false otherwisedefault is false



setContentOnly
public void setContentOnly(boolean contentOnly)(Code)
set the contentOnly flag on the Target
Parameters:
  contentOnly - the boolean flag indicating content-only when set to true.



setEnforce
public void setEnforce(boolean enforce)(Code)
set the enforcement flag, used when verifying Security on an inbound message.
Parameters:
  enforce - if set to True indicates that this Target is a compulsary target under the Policy in whichit appears.



setPolicyName
public void setPolicyName(QName policyQName)(Code)



setQName
public void setQName(QName qname)(Code)
Set the Target QName.



setType
public void setType(String type)(Code)
set the type of the Target
Parameters:
  type - the type of the Target



setValue
public void setValue(String value)(Code)
set the value of the Target
Parameters:
  value - the value of the Target



setXPathVersion
public void setXPathVersion(String version)(Code)
sets xpath version to be used if the Target Type is XPATH.



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)

w___ww_._j___a__v__a__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.