You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/09/21 16:27:34 UTC
[cxf-fediz] branch master updated: Adding some missing Apache
licenses
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git
The following commit(s) were added to refs/heads/master by this push:
new 86be556 Adding some missing Apache licenses
86be556 is described below
commit 86be55655adbdc4167629207020a5d8b159c8b85
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Fri Sep 21 17:27:18 2018 +0100
Adding some missing Apache licenses
---
.../apache/cxf/fediz/common/ClaimCopyProcessor.java | 18 ++++++++++++++++++
.../apache/cxf/fediz/common/ClaimMutateProcessor.java | 18 ++++++++++++++++++
.../cxf/fediz/core/federation/ClaimsProcessorTest.java | 7 ++++---
3 files changed, 40 insertions(+), 3 deletions(-)
diff --git a/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimCopyProcessor.java b/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimCopyProcessor.java
index 6b9ba2a..80bb88c 100644
--- a/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimCopyProcessor.java
+++ b/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimCopyProcessor.java
@@ -1,3 +1,21 @@
+/**
+ * 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.fediz.common;
import java.util.List;
diff --git a/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimMutateProcessor.java b/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimMutateProcessor.java
index c11fe79..e3f81d3 100644
--- a/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimMutateProcessor.java
+++ b/plugins/core/src/test/java/org/apache/cxf/fediz/common/ClaimMutateProcessor.java
@@ -1,3 +1,21 @@
+/**
+ * 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.fediz.common;
import java.util.ArrayList;
diff --git a/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/ClaimsProcessorTest.java b/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/ClaimsProcessorTest.java
index 0d2043d..1d08b4c 100644
--- a/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/ClaimsProcessorTest.java
+++ b/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/ClaimsProcessorTest.java
@@ -30,6 +30,9 @@ import javax.security.auth.callback.UnsupportedCallbackException;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
import org.apache.cxf.fediz.common.STSUtil;
import org.apache.cxf.fediz.common.SecurityTestUtil;
import org.apache.cxf.fediz.core.Claim;
@@ -74,8 +77,6 @@ import org.apache.wss4j.common.util.XMLUtils;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
/**
* Test for claim transformations with ClaimsProcessor
@@ -337,4 +338,4 @@ public class ClaimsProcessorTest {
e.appendChild(token);
return DOM2Writer.nodeToString(doc);
}
-}
\ No newline at end of file
+}