Searched refs:assertion (Results 1 - 25 of 35) sorted by relevance

12

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/spi/
H A DAbstractQNameValidator.java35 * This abstract policy assertion validator validates assertions by their qualified
40 * <li>{@link Fitness#SUPPORTED} - if the assertion qualified name is in the list of
41 * supported assertion names on the server/client side</li>
42 * <li>{@link Fitness#UNSUPPORTED} - if the assertion qualified name is not in the list of
43 * supported assertion names on the server/client side, however it is in the list of
44 * assertion names supported on the other side</li>
45 * <li>{@link Fitness#UNKNOWN} - if the assertion qualified name is not present in the any of
46 * the lists of supported assertion names</li>
51 * to validate content of the assertion. To do this one needs to override and reuse
64 * supported on either server or client side. The set of all assertion namespace
95 validateClientSide(PolicyAssertion assertion) argument
99 validateServerSide(PolicyAssertion assertion) argument
103 validateAssertion(PolicyAssertion assertion, Collection<QName> thisSideAssertions, Collection<QName> otherSideAssertions) argument
[all...]
H A DPolicyAssertionValidator.java57 * {@code Fitness.UNKNOWN} if the policy assertion type is not recognized
60 * {@code Fitness.SUPPORTED} if the policy assertion is supported in the
64 * {@code Fitness.UNSUPPORTED} if the policy assertion is recognized however
70 * {@code Fitness.INVALID} if the policy assertion is recognized however
78 * @param assertion A policy asssertion (See {@link com.sun.xml.internal.ws.policy.PolicyAssertion PolicyAssertion}).
80 * @return fitness of the {@code assertion} on in the client-side context. Must not be {@code null}.
82 public Fitness validateClientSide(PolicyAssertion assertion); argument
88 * {@code Fitness.UNKNOWN} if the policy assertion type is not recognized
91 * {@code Fitness.SUPPORTED} if the policy assertion is supported in the
95 * {@code Fitness.UNSUPPORTED} if the policy assertion i
112 validateServerSide(PolicyAssertion assertion) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DRDN.java48 * Note that DER-encoded RDNs sort AVAs by assertion OID ... so that
72 final AVA[] assertion; field in class:RDN
154 assertion = avaVec.toArray(new AVA[avaVec.size()]);
230 assertion = avaVec.toArray(new AVA[avaVec.size()]);
247 assertion = new AVA[avaset.length];
249 assertion[i] = new AVA(avaset[i]);
259 RDN(int i) { assertion = new AVA[i]; }
265 assertion = new AVA[] { ava };
269 assertion = avas.clone();
270 for (int i = 0; i < assertion
[all...]
H A DX500Name.java212 names[3].assertion[0] = new AVA(commonName_oid,
215 names[2].assertion[0] = new AVA(orgUnitName_oid,
218 names[1].assertion[0] = new AVA(orgName_oid,
221 names[0].assertion[0] = new AVA(countryName_oid,
250 names[5].assertion[0] = new AVA(commonName_oid,
253 names[4].assertion[0] = new AVA(orgUnitName_oid,
256 names[3].assertion[0] = new AVA(orgName_oid,
259 names[2].assertion[0] = new AVA(localityName_oid,
262 names[1].assertion[0] = new AVA(stateName_oid,
265 names[0].assertion[
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DCompactModelGenerator.java73 for (PolicyAssertion assertion : set) {
74 final AssertionData data = AssertionData.createAssertionData(assertion.getName(), assertion.getValue(), assertion.getAttributes(), assertion.isOptional(), assertion.isIgnorable());
76 if (assertion.hasNestedPolicy()) {
77 translate(assertionNode, assertion.getNestedPolicy());
79 if (assertion.hasParameters()) {
80 translate(assertionNode, assertion
[all...]
H A DNormalizedModelGenerator.java66 for (PolicyAssertion assertion : set) {
67 final AssertionData data = AssertionData.createAssertionData(assertion.getName(), assertion.getValue(), assertion.getAttributes(), assertion.isOptional(), assertion.isIgnorable());
69 if (assertion.hasNestedPolicy()) {
70 translate(assertionNode, assertion.getNestedPolicy());
72 if (assertion.hasParameters()) {
73 translate(assertionNode, assertion
[all...]
H A DPolicyModelGenerator.java112 * Add the contents of the assertion set as child node to the given model node.
114 * @param node The content of this assertion set are added as child nodes to this node.
119 for (PolicyAssertion assertion : assertions) {
120 final AssertionData data = AssertionData.createAssertionData(assertion.getName(), assertion.getValue(), assertion.getAttributes(), assertion.isOptional(), assertion.isIgnorable());
122 if (assertion.hasNestedPolicy()) {
123 translate(assertionNode, assertion
[all...]
H A DPolicyModelTranslator.java87 RawAssertion assertion = new RawAssertion(node, new LinkedList<ModelNode>());
88 nestedAssertions.add(assertion);
90 for (ModelNode assertionNodeChild : assertion.originalNode.getChildren()) {
93 assertion.parameters.add(assertionNodeChild);
97 if (assertion.nestedAlternatives == null) {
98 assertion.nestedAlternatives = new LinkedList<RawAlternative>();
101 nestedPolicy = new RawPolicy(assertionNodeChild, assertion.nestedAlternatives);
103 nestedPolicy = new RawPolicy(getReferencedModelRootNode(assertionNodeChild), assertion.nestedAlternatives);
385 // we do not have any options to combine => returning this assertion
388 // we have some options to combine => creating assertion option
397 normalizeRawAssertion(final RawAssertion assertion) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/
H A DAddressingPolicyValidator.java41 * If the assertion is wsam:Addressing, it makes sure that only valid assertions are nested.
63 public Fitness validateClientSide(PolicyAssertion assertion) { argument
64 return supportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
67 public Fitness validateServerSide(PolicyAssertion assertion) { argument
68 if (!supportedAssertions.contains(assertion.getName()))
72 if (assertion.getName().equals(W3CAddressingMetadataConstants.WSAM_ADDRESSING_ASSERTION)) {
73 NestedPolicy nestedPolicy = assertion.getNestedPolicy();
83 LOGGER.warning("Found unsupported assertion:\n" + nestedAsser + "\nnested into assertion:\n" + assertion);
[all...]
H A DAddressingFeatureConfigurator.java83 final PolicyAssertion assertion = policyAssertion.next();
84 if(assertion.getName().equals(addressingAssertionQName)){
85 final WebServiceFeature feature = AddressingVersion.getFeature(addressingAssertionQName.getNamespaceURI(), true, !assertion.isOptional());
90 } // end-if non optional wsa assertion found
91 } // next assertion
93 } // end-if policy contains wsa assertion
94 } //end foreach addr assertion
99 for (PolicyAssertion assertion : assertions) {
100 if (assertion.getName().equals(W3CAddressingMetadataConstants.WSAM_ADDRESSING_ASSERTION)) {
101 NestedPolicy nestedPolicy = assertion
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/
H A DManagementPolicyValidator.java44 public Fitness validateClientSide(PolicyAssertion assertion) { argument
45 final QName assertionName = assertion.getName();
57 public Fitness validateServerSide(PolicyAssertion assertion) { argument
58 final QName assertionName = assertion.getName();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/
H A DEncodingPolicyValidator.java60 public Fitness validateClientSide(PolicyAssertion assertion) { argument
61 return clientSideSupportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
64 public Fitness validateServerSide(PolicyAssertion assertion) { argument
65 QName assertionName = assertion.getName();
H A DFastInfosetFeatureConfigurator.java72 PolicyAssertion assertion = policyAssertion.next();
73 if(OPTIMIZED_FI_SERIALIZATION_ASSERTION.equals(assertion.getName())){
74 String value = assertion.getAttributeValue(enabled);
77 } // end-if non optional fast infoset assertion found
78 } // next assertion
80 } // end-if policy contains fast infoset assertion
H A DSelectOptimalEncodingFeatureConfigurator.java71 PolicyAssertion assertion = policyAssertion.next();
72 if(SELECT_OPTIMAL_ENCODING_ASSERTION.equals(assertion.getName())){
73 String value = assertion.getAttributeValue(enabled);
H A DMtomFeatureConfigurator.java73 PolicyAssertion assertion = policyAssertion.next();
74 if(OPTIMIZED_MIME_SERIALIZATION_ASSERTION.equals(assertion.getName())){
76 } // end-if non optional mtom assertion found
77 } // next assertion
79 } // end-if policy contains mtom assertion
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DAssertionValidationProcessor.java37 * Provides methods for assertion validation.
97 * Validates fitness of the {@code assertion} on the client side.
99 * return client side {@code assertion} fitness
100 * @param assertion The assertion to be validated.
101 * @return The fitness of the assertion on the client side.
104 public PolicyAssertionValidator.Fitness validateClientSide(final PolicyAssertion assertion) throws PolicyException { argument
107 assertionFitness = assertionFitness.combine(validator.validateClientSide(assertion));
117 * Validates fitness of the {@code assertion} on the server side.
119 * return server side {@code assertion} fitnes
124 validateServerSide(final PolicyAssertion assertion) argument
[all...]
H A DAssertionSet.java108 private boolean add(final PolicyAssertion assertion) { argument
109 if (assertion == null) {
113 if (this.assertions.contains(assertion)) {
116 this.assertions.add(assertion);
117 this.vocabulary.add(assertion.getName());
126 for (PolicyAssertion assertion : assertions) {
127 result &= add(assertion); // this is here to ensure that vocabulary is built correctly as well
135 * Return all assertions contained in this assertion set.
137 * @return All assertions contained in this assertion set
145 * unique QName objects. Each of those objects represents single assertion typ
[all...]
H A DPolicyAssertion.java38 * Base class for any policy assertion implementations. It defines the common
39 * interface and provides some default implentation for common policy assertion
62 * @param assertionData assertion creation data specifying the details of newly created assertion. May be {@code null}.
63 * @param assertionParameters collection of assertions parameters of this policy assertion. May be {@code null}.
64 * @param nestedAlternative assertion set specifying nested policy alternative. May be {@code null}.
66 * @deprecated Non-abstract assertion types should derive from {@link SimpleAssertion}
84 * @param assertionData assertion creation data specifying the details of newly created assertion
85 * @param assertionParameters collection of assertions parameters of this policy assertion
320 isCompatibleWith(final PolicyAssertion assertion, PolicyIntersector.CompatibilityMode mode) argument
[all...]
H A DEffectiveAlternativeSelector.java38 * to find out whether particular policy assertion is actually supported.
199 for ( PolicyAssertion assertion : alternative ) {
201 final Fitness assertionFitness = validationProcessor.validateClientSide(assertion);
206 LOGGER.warning(LocalizationMessages.WSP_0075_PROBLEMATIC_ASSERTION_STATE(assertion.getName(), assertionFitness));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/
H A DManagedClientAssertion.java42 * The client-side ManagedClient policy assertion.
54 * Return ManagedClient assertion if there is one associated with the client.
57 * @return The policy assertion if found. Null otherwise.
66 final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME,
68 LOGGER.exiting(assertion);
69 return assertion;
H A DManagementAssertion.java47 * convenience methods to directly access the policy assertion parameters.
82 * @param <T> The implementation class of the assertion.
83 * @param name The fully qualified name of the server or client assertion.
87 * @param type The implementation class of the assertion.
95 PolicyAssertion assertion = null;
105 assertion = assertions.next();
110 return assertion == null ? null : assertion.getImplementation(type);
120 * @param name The fully qualified name of the server or client assertion. Must
122 * @param data The assertion dat
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/
H A DDefaultPolicyResolver.java80 for (PolicyAssertion assertion : assertionSet) {
81 Fitness validationResult = validationProcessor.validateServerSide(assertion);
84 assertion.getName(),
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/
H A DLocPathIterator.java393 assertion(false, "setNextPosition not supported in this iterator!");
420 assertion(false, "setShouldCacheNodes not supported by this iterater!");
442 assertion(false, "setCurrentPos not supported by this iterator!");
466 assertion(false, "size() not supported by this iterator!");
481 assertion(false, "item(int index) not supported by this iterator!");
500 assertion(false, "setItem not supported by this iterator!");
702 assertion(false, "This iterator can not reset!");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/
H A DMonitorBase.java110 final ManagedServiceAssertion assertion =
112 if (assertion != null) {
113 final String id = assertion.getId();
117 if (assertion.monitoringAttribute() == Setting.OFF) {
166 final ManagedClientAssertion assertion =
168 if (assertion != null) {
169 final String id = assertion.getId();
173 if (assertion.monitoringAttribute() == Setting.OFF) {
175 } else if (assertion.monitoringAttribute() == Setting.ON &&
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/
H A DExpression.java406 * Tell the user of an assertion error, and probably throw an
410 * @param msg The assertion message, which should be informative.
416 public void assertion(boolean b, java.lang.String msg) method in class:Expression
478 assertion(n != this, "Can not parent an expression to itself!");
491 assertion(false, "exprAddChild method not implemented!");

Completed in 63 milliseconds

12