Skip to content

Commit 710740b

Browse files
committed
Updated copyright to use the one from the Apache license's appendix
1 parent a39fbdd commit 710740b

37 files changed

Lines changed: 510 additions & 254 deletions

api-example/pom.xml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
21
<!--
3-
~ Copyright (C) 2016 Curity AB. All rights reserved.
4-
~
5-
~ The contents of this file are the property of Curity AB.
6-
~ You may not copy or use this file, in either source code
7-
~ or executable form, except in compliance with terms
8-
~ set by Curity AB.
9-
~
10-
~ For further information, please contact Curity AB.
11-
-->
12-
2+
~ Copyright (C) 2016 Curity AB.
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
-->
1316
<project xmlns="http://maven.apache.org/POM/4.0.0"
1417
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1518
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

api-example/src/main/java/se/curity/examples/http/UnsafeHttpClientSupplier.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
/*
2-
* Copyright (C) 2016 Curity AB. All rights reserved.
3-
*
4-
* The contents of this file are the property of Curity AB.
5-
* You may not copy or use this file, in either source code
6-
* or executable form, except in compliance with terms
7-
* set by Curity AB.
8-
*
9-
* For further information, please contact Curity AB.
2+
* Copyright (C) 2016 Curity AB.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1015
*/
1116

1217
package se.curity.examples.http;

api-example/src/main/java/se/curity/examples/spark/EmbeddedSparkJwtFilterConfig.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
/*
2-
* Copyright (C) 2016 Curity AB. All rights reserved.
3-
*
4-
* The contents of this file are the property of Curity AB.
5-
* You may not copy or use this file, in either source code
6-
* or executable form, except in compliance with terms
7-
* set by Curity AB.
8-
*
9-
* For further information, please contact Curity AB.
2+
* Copyright (C) 2016 Curity AB.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1015
*/
1116

1217
package se.curity.examples.spark;

api-example/src/main/java/se/curity/examples/spark/EmbeddedSparkOpaqueFilterConfig.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (C) 2016 Curity AB.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package se.curity.examples.spark;
218

319
import javax.servlet.FilterConfig;
@@ -7,7 +23,6 @@
723
import java.util.Iterator;
824
import java.util.Map;
925

10-
1126
public class EmbeddedSparkOpaqueFilterConfig implements FilterConfig
1227
{
1328
private final Map<String,String> _params;

api-example/src/main/java/se/curity/examples/spark/SparkServerExample.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
/*
2-
* Copyright (C) 2016 Curity AB. All rights reserved.
3-
*
4-
* The contents of this file are the property of Curity AB.
5-
* You may not copy or use this file, in either source code
6-
* or executable form, except in compliance with terms
7-
* set by Curity AB.
8-
*
9-
* For further information, please contact Curity AB.
2+
* Copyright (C) 2016 Curity AB.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1015
*/
1116

1217
package se.curity.examples.spark;

api-example/src/main/resources/META-INF/services/OAuthFilter.properties

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
#
2-
# Copyright (C) 2016 Curity AB. All rights reserved.
3-
#
4-
# The contents of this file are the property of Curity AB.
5-
# You may not copy or use this file, in either source code
6-
# or executable form, except in compliance with terms
7-
# set by Curity AB.
8-
#
9-
# For further information, please contact Curity AB.
2+
# Copyright (C) 2016 Curity AB.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
1015
#
1116

1217
# DO NOT USE UnsafeHttpClientSupplier IN PRODUCTION!!!

api-example/src/main/resources/log4j2.xml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
<!--
2-
~ Copyright (C) 2015-2016 Curity AB. All rights reserved.
3-
~
4-
~ The contents of this file are the property of Curity AB.
5-
~ You may not copy or use this file, in either source code
6-
~ or executable form, except in compliance with terms
7-
~ set by Curity AB.
8-
~
9-
~ For further information, please contact Curity AB.
10-
-->
2+
~ Copyright (C) 2016 Curity AB.
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
-->
1116

1217
<!-- This file configures log4j as it's used during development. This file does not ship with the product -->
1318
<Configuration>

api-example/src/main/webapp/WEB-INF/web.xml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
<!--
2-
~ Copyright (C) 2016 Curity AB. All rights reserved.
3-
~
4-
~ The contents of this file are the property of Curity AB.
5-
~ You may not copy or use this file, in either source code
6-
~ or executable form, except in compliance with terms
7-
~ set by Curity AB.
8-
~
9-
~ For further information, please contact Curity AB.
10-
-->
11-
2+
~ Copyright (C) 2016 Curity AB.
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
-->
1216
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
1317
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1418
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee

oauth-filter/pom.xml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
<?xml version="1.0"?>
21
<!--
3-
~ Copyright (C) 2016 Curity AB. All rights reserved.
4-
~
5-
~ The contents of this file are the property of Curity AB.
6-
~ You may not copy or use this file, in either source code
7-
~ or executable form, except in compliance with terms
8-
~ set by Curity AB.
9-
~
10-
~ For further information, please contact Curity AB.
11-
-->
12-
2+
~ Copyright (C) 2016 Curity AB.
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
-->
1316
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1417
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
1518
xmlns="http://maven.apache.org/POM/4.0.0">

oauth-filter/src/main/java/se/curity/examples/oauth/AuthenticatedUser.java

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
/*
2-
* Copyright (C) 2016 Curity AB. All rights reserved.
3-
*
4-
* The contents of this file are the property of Curity AB.
5-
* You may not copy or use this file, in either source code
6-
* or executable form, except in compliance with terms
7-
* set by Curity AB.
8-
*
9-
* For further information, please contact Curity AB.
2+
* Copyright (C) 2016 Curity AB.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1015
*/
1116

1217
package se.curity.examples.oauth;
1318

14-
1519
import com.google.common.base.Preconditions;
1620

1721
import javax.annotation.Nullable;

0 commit comments

Comments
 (0)