|
Apache CXF example source code file (PolicyConstants.java)
The Apache CXF PolicyConstants.java source code/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.cxf.ws.policy; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; import javax.xml.namespace.QName; import org.w3c.dom.Attr; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.apache.cxf.helpers.DOMUtils; /** * Encapsulation of version-specific WS-Policy constants. */ public final class PolicyConstants { public static final String NAMESPACE_WS_POLICY = "http://www.w3.org/ns/ws-policy"; public static final String NAMESPACE_W3_200607 = "http://www.w3.org/2006/07/ws-policy"; public static final String NAMESPACE_XMLSOAP_200409 = "http://schemas.xmlsoap.org/ws/2004/09/policy"; public static final String POLICY_ELEM_NAME = "Policy"; public static final String POLICYREFERENCE_ELEM_NAME = "PolicyReference"; public static final String POLICYATTACHMENT_ELEM_NAME = "PolicyAttachment"; public static final String APPLIESTO_ELEM_NAME = "AppliesTo"; public static final String WSU_NAMESPACE_URI = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; public static final String WSU_ID_ATTR_NAME = "Id"; public static final String POLICY_OVERRIDE = "org.apache.cxf.ws.policy.override"; public static final String POLICY_IN_INTERCEPTOR_ID = "org.apache.cxf.ws.policy.PolicyInInterceptor"; public static final String POLICY_OUT_INTERCEPTOR_ID = "org.apache.cxf.ws.policy.PolicyOutInterceptor"; public static final String CLIENT_POLICY_IN_FAULT_INTERCEPTOR_ID = "org.apache.cxf.ws.policy.ClientPolicyInFaultInterceptor"; public static final String SERVER_POLICY_OUT_FAULT_INTERCEPTOR_ID = "org.apache.cxf.ws.policy.ServerPolicyOutFaultInterceptor"; public static final String CLIENT_OUT_ASSERTIONS = "org.apache.cxf.ws.policy.client.out.assertions"; public static final String CLIENT_IN_ASSERTIONS = "org.apache.cxf.ws.policy.client.in.assertions"; public static final String CLIENT_INFAULT_ASSERTIONS = "org.apache.cxf.ws.policy.client.infault.assertions"; public static final String SERVER_IN_ASSERTIONS = "org.apache.cxf.ws.policy.server.in.assertions"; public static final String SERVER_OUT_ASSERTIONS = "org.apache.cxf.ws.policy.server.out.assertions"; public static final String SERVER_OUTFAULT_ASSERTIONS = "org.apache.cxf.ws.policy.server.outfault.assertions"; private static final String ALL_ELEM_NAME = "All"; private static final String EXACTLYONE_ELEM_NAME = "ExactlyOne"; private static final String OPTIONAL_ATTR_NAME = "Optional"; private static final String POLICYURIS_ATTR_NAME = "PolicyURIs"; private static final Set<String> SUPPORTED_NAMESPACES = new HashSet Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF PolicyConstants.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.