diff --git a/core/src/main/java/com/predic8/membrane/core/interceptor/oauth2/tokengenerators/BearerJwtTokenGenerator.java b/core/src/main/java/com/predic8/membrane/core/interceptor/oauth2/tokengenerators/BearerJwtTokenGenerator.java index e2f503810..5fe9532f0 100644 --- a/core/src/main/java/com/predic8/membrane/core/interceptor/oauth2/tokengenerators/BearerJwtTokenGenerator.java +++ b/core/src/main/java/com/predic8/membrane/core/interceptor/oauth2/tokengenerators/BearerJwtTokenGenerator.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2.tokengenerators; import com.predic8.membrane.annot.MCAttribute; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithSessionRequestJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithSessionRequestJWTTest.java index 9bdee2538..ca32142e3 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithSessionRequestJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithSessionRequestJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionOpenidRequestJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionOpenidRequestJWTTest.java index 19a8fd364..5f932423f 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionOpenidRequestJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionOpenidRequestJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionRequestJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionRequestJWTTest.java index 658a71b8b..2c8523bac 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionRequestJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/AuthWithoutSessionRequestJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointJWTTest.java index 90e15e7ea..40ff579f4 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointOpenidJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointOpenidJWTTest.java index dc5b4d07c..4b66806ff 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointOpenidJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/EmptyEndpointOpenidJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorNormalJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorNormalJWTTest.java index b5bf6f62d..18fd266e1 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorNormalJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorNormalJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorOpenidJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorOpenidJWTTest.java index 20134d356..2bb154bdb 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorOpenidJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/OAuth2AuthorizationServerInterceptorOpenidJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/PasswordGrantJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/PasswordGrantJWTTest.java index 30000fd07..d01f1f108 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/PasswordGrantJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/PasswordGrantJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/RevocationRequestJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/RevocationRequestJWTTest.java index 82ce51229..017841ef0 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/RevocationRequestJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/RevocationRequestJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import org.junit.jupiter.api.Test; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/TokenRequestJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/TokenRequestJWTTest.java index c3e89df96..3264acd39 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/TokenRequestJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/TokenRequestJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/UserinfoRequestJWTTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/UserinfoRequestJWTTest.java index 99c90bda6..55853e66f 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/UserinfoRequestJWTTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/oauth2/UserinfoRequestJWTTest.java @@ -1,3 +1,15 @@ +/* + * Copyright 2024 predic8 GmbH, www.predic8.com + * Licensed 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 com.predic8.membrane.core.interceptor.oauth2; import static com.predic8.membrane.core.interceptor.oauth2.OAuth2TestUtil.useJWTForAccessTokensAndRefreshTokens;