Skip to content

Commit 19217ea

Browse files
authored
authors and copyrights cleanup (#4103)
1 parent 19b0e79 commit 19217ea

File tree

809 files changed

+174
-14159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

809 files changed

+174
-14159
lines changed

.mvn/wrapper/MavenWrapperDownloader.java

-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
* Copyright 2007-present the original author or authors.
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-
*/
161
import java.net.*;
172
import java.io.*;
183
import java.nio.channels.*;

app/src/main/java/io/apicurio/registry/ApicurioRegisterForReflection.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,8 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry;
182

193
import io.apicurio.rest.client.auth.AccessTokenResponse;
204
import io.quarkus.runtime.annotations.RegisterForReflection;
215

22-
/**
23-
* @author Fabian Martinez
24-
*/
256
@RegisterForReflection(targets = {
267
AccessTokenResponse.class,
278
// Needed for the JAXRSClient

app/src/main/java/io/apicurio/registry/AppConfiguration.java

-17
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2020 Red Hat
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-
171
package io.apicurio.registry;
182

193
import java.util.Properties;
@@ -27,7 +11,6 @@
2711
/**
2812
* Generic configuration.
2913
*
30-
* @author Ales Justin
3114
*/
3215
@ApplicationScoped
3316
public class AppConfiguration {

app/src/main/java/io/apicurio/registry/RegistryQuarkusMain.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,8 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry;
182

193
import io.quarkus.runtime.Quarkus;
204
import io.quarkus.runtime.annotations.QuarkusMain;
215

22-
/**
23-
* @author eric.wittmann@gmail.com
24-
*/
256
@QuarkusMain(name = "RegistryQuarkusMain")
267
public class RegistryQuarkusMain {
278
public static void main(String... args) {

app/src/main/java/io/apicurio/registry/URLRegisterForReflection.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry;
182

193
import java.net.URL;
204

215
import io.quarkus.runtime.annotations.RegisterForReflection;
226

23-
/**
24-
* @author Fabian Martinez
25-
*/
267
@RegisterForReflection(targets = URL.class)
278
public class URLRegisterForReflection {
289

app/src/main/java/io/apicurio/registry/auth/AdminOverride.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

193
import io.quarkus.security.identity.SecurityIdentity;
@@ -24,9 +8,6 @@
248

259
import java.util.Optional;
2610

27-
/**
28-
* @author eric.wittmann@gmail.com
29-
*/
3011
@ApplicationScoped
3112
public class AdminOverride {
3213

app/src/main/java/io/apicurio/registry/auth/AuthConfig.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

193
import java.util.function.Supplier;
@@ -27,9 +11,6 @@
2711
import io.apicurio.common.apps.config.Dynamic;
2812
import io.apicurio.common.apps.config.Info;
2913

30-
/**
31-
* @author eric.wittmann@gmail.com
32-
*/
3314
@Singleton
3415
public class AuthConfig {
3516

app/src/main/java/io/apicurio/registry/auth/Authorized.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

193
import java.lang.annotation.ElementType;
@@ -25,9 +9,6 @@
259
import jakarta.enterprise.util.Nonbinding;
2610
import jakarta.interceptor.InterceptorBinding;
2711

28-
/**
29-
* @author eric.wittmann@gmail.com
30-
*/
3112
@InterceptorBinding
3213
@Inherited
3314
@Retention(RetentionPolicy.RUNTIME)

app/src/main/java/io/apicurio/registry/auth/AuthorizedInterceptor.java

-17
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

193
import io.quarkus.security.ForbiddenException;
@@ -35,7 +19,6 @@
3519
* for any method that is annotated with the {@link Authorized} annotation. Please ensure that all
3620
* JAX-RS operations are propertly annotated.
3721
*
38-
* @author eric.wittmann@gmail.com
3922
*/
4023
@Authorized
4124
@Interceptor

app/src/main/java/io/apicurio/registry/auth/AuthorizedLevel.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

19-
/**
20-
* @author eric.wittmann@gmail.com
21-
*/
223
public enum AuthorizedLevel {
234

245
None, Read, Write, Admin, AdminOrOwner

app/src/main/java/io/apicurio/registry/auth/AuthorizedStyle.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

19-
/**
20-
* @author eric.wittmann@gmail.com
21-
*/
223
public enum AuthorizedStyle {
234

245
GroupAndArtifact, GroupOnly, ArtifactOnly, GlobalId, None

app/src/main/java/io/apicurio/registry/auth/HeaderRoleProvider.java

-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2023 Red Hat
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-
171
package io.apicurio.registry.auth;
182

193
import io.apicurio.common.apps.config.Info;

app/src/main/java/io/apicurio/registry/auth/IAccessController.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,7 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

193
import jakarta.interceptor.InvocationContext;
204

21-
/**
22-
* @author eric.wittmann@gmail.com
23-
*/
245
public interface IAccessController {
256

267
public boolean isAuthorized(InvocationContext context);

app/src/main/java/io/apicurio/registry/auth/OwnerBasedAccessController.java

-19
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,8 @@
1-
/*
2-
* Copyright 2021 Red Hat
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-
171
package io.apicurio.registry.auth;
182

193
import jakarta.inject.Singleton;
204
import jakarta.interceptor.InvocationContext;
215

22-
/**
23-
* @author eric.wittmann@gmail.com
24-
*/
256
@Singleton
267
public class OwnerBasedAccessController extends AbstractAccessController {
278

0 commit comments

Comments
 (0)