This is an automated email from the ASF dual-hosted git repository.
sergeyb pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
new b48918d Adding a missing resource
b48918d is described below
commit b48918de6afd522378805d745f8135eca73110a2
Author: Sergey Beryozkin <[email protected]>
AuthorDate: Tue Nov 21 13:01:02 2017 +0000
Adding a missing resource
---
.../cxf/systest/jaxrs/cors/CorsSecuredBase.java | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/cors/CorsSecuredBase.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/cors/CorsSecuredBase.java
new file mode 100644
index 0000000..b801570
--- /dev/null
+++
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/cors/CorsSecuredBase.java
@@ -0,0 +1,33 @@
+/**
+ * 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.systest.jaxrs.cors;
+
+import org.apache.cxf.rs.security.cors.CrossOriginResourceSharing;
+
+@CrossOriginResourceSharing(allowOrigins = {
+ "http://area51.mil:31415"
+ }, allowCredentials = true, maxAge = 1, allowHeaders = {
+ "X-custom-1", "X-custom-2"
+ }, exposeHeaders = {
+ "X-custom-3", "X-custom-4"
+ }
+)
+public interface CorsSecuredBase {
+
+}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].