diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 99d3828..8ffae24 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,18 +1,21 @@ name: CI Check -on: [ push ] +on: + push: + branches: [ "**" ] jobs: check: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 11 - cache: gradle + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 - name: Check run: ./gradlew check diff --git a/.github/workflows/releaseExtension.yml b/.github/workflows/releaseExtension.yml index 50c7bdc..d5575de 100644 --- a/.github/workflows/releaseExtension.yml +++ b/.github/workflows/releaseExtension.yml @@ -9,13 +9,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 11 - cache: gradle + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 - name: Build Zip run: ./gradlew hivemqExtensionZip - name: Upload Release Asset diff --git a/HEADER b/HEADER index 99a73e1..0d3e78d 100644 --- a/HEADER +++ b/HEADER @@ -1,11 +1,10 @@ - -Copyright 2019 HiveMQ GmbH +Copyright 2019-present HiveMQ GmbH 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 + 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, diff --git a/build.gradle.kts b/build.gradle.kts index ecb989c..f7e2903 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,11 +8,11 @@ group = "com.hivemq.extensions" description = "HiveMQ File Role Based Access Control Extension" hivemqExtension { - name.set("HiveMQ File Role Based Access Control Extension") - author.set("HiveMQ") - priority.set(1000) - startPriority.set(10000) - sdkVersion.set(libs.versions.hivemq.extensionSdk) + name = "HiveMQ File Role Based Access Control Extension" + author = "HiveMQ" + priority = 1000 + startPriority = 10000 + sdkVersion = libs.versions.hivemq.extensionSdk resources { from("LICENSE") diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..c00e3cd --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,6 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: [ + "local>hivemq/renovate-config:default.json5", + ], +} diff --git a/src/main/java/com/hivemq/extensions/rbac/file/ExtensionConstants.java b/src/main/java/com/hivemq/extensions/rbac/file/ExtensionConstants.java index 84df47e..0bd6314 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/ExtensionConstants.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/ExtensionConstants.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticator.java b/src/main/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticator.java index fee865c..7e90f2c 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticator.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticator.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/FileAuthMain.java b/src/main/java/com/hivemq/extensions/rbac/file/FileAuthMain.java index 155d046..fa95554 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/FileAuthMain.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/FileAuthMain.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProvider.java b/src/main/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProvider.java index 5f24d1f..59b1916 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProvider.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProvider.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiver.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiver.java index 56292f2..73bfe97 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiver.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiver.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidator.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidator.java index 5b85793..56ef29c 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidator.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidator.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigParser.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigParser.java index 058581c..2e7cee8 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigParser.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigParser.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigResolver.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigResolver.java index b8e4563..b4c5562 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigResolver.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ConfigResolver.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/CredentialsConfiguration.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/CredentialsConfiguration.java index e9269e1..f1001c7 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/CredentialsConfiguration.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/CredentialsConfiguration.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ExtensionConfiguration.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ExtensionConfiguration.java index 19843fc..8e91f28 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/ExtensionConfiguration.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/ExtensionConfiguration.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/NotMarshallableException.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/NotMarshallableException.java index f08f38d..542c6d2 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/NotMarshallableException.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/NotMarshallableException.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/XmlParser.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/XmlParser.java index 2f5ee44..3b79519 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/XmlParser.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/XmlParser.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/ExtensionConfig.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/ExtensionConfig.java index d21b7e4..fcf45db 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/ExtensionConfig.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/ExtensionConfig.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/FileAuthConfig.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/FileAuthConfig.java index 8c43966..6a573b5 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/FileAuthConfig.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/FileAuthConfig.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/PasswordType.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/PasswordType.java index 5af9ba5..832c28f 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/PasswordType.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/PasswordType.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Permission.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Permission.java index 0948ef6..3686162 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Permission.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Permission.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Role.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Role.java index 1e1b96b..7525365 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Role.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/Role.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/User.java b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/User.java index 81c628f..480f268 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/User.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/configuration/entities/User.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/generator/PasswordGenerator.java b/src/main/java/com/hivemq/extensions/rbac/file/generator/PasswordGenerator.java index 8841fdf..de4f70f 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/generator/PasswordGenerator.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/generator/PasswordGenerator.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasher.java b/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasher.java index 78c5bab..e897c64 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasher.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasher.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidator.java b/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidator.java index 410f2dd..ceda260 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidator.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidator.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/utils/Hashing.java b/src/main/java/com/hivemq/extensions/rbac/file/utils/Hashing.java index 8ba5860..8469d98 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/utils/Hashing.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/utils/Hashing.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/main/java/com/hivemq/extensions/rbac/file/utils/Substitution.java b/src/main/java/com/hivemq/extensions/rbac/file/utils/Substitution.java index 7e31f24..babb3e0 100644 --- a/src/main/java/com/hivemq/extensions/rbac/file/utils/Substitution.java +++ b/src/main/java/com/hivemq/extensions/rbac/file/utils/Substitution.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticatorTest.java b/src/test/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticatorTest.java index b5bb366..490b4b1 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticatorTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/FileAuthAuthenticatorTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProviderTest.java b/src/test/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProviderTest.java index feec220..735e56b 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProviderTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/FileAuthenticatorProviderTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiverTest.java b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiverTest.java index 558c6e6..4499e5a 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiverTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigArchiverTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidatorTest.java b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidatorTest.java index a62cc6d..4e57675 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidatorTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigCredentialsValidatorTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigParserTest.java b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigParserTest.java index 8422333..57f2867 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigParserTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigParserTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigurationTest.java b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigurationTest.java index b0676a5..32e5d92 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigurationTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/configuration/ConfigurationTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/configuration/CredentialsTest.java b/src/test/java/com/hivemq/extensions/rbac/file/configuration/CredentialsTest.java index 4219ad1..28a2d27 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/configuration/CredentialsTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/configuration/CredentialsTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/configuration/XmlParserTest.java b/src/test/java/com/hivemq/extensions/rbac/file/configuration/XmlParserTest.java index 3d2eb59..24bf02e 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/configuration/XmlParserTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/configuration/XmlParserTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasherTest.java b/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasherTest.java index c6d0acf..f435b94 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasherTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsHasherTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidatorTest.java b/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidatorTest.java index 59eebf7..549904d 100644 --- a/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidatorTest.java +++ b/src/test/java/com/hivemq/extensions/rbac/file/utils/CredentialsValidatorTest.java @@ -1,12 +1,11 @@ /* - * - * Copyright 2019 HiveMQ GmbH + * Copyright 2019-present HiveMQ GmbH * * 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 + * 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, diff --git a/src/test/resources/test-extension-config.xml b/src/test/resources/test-extension-config.xml index 293dae7..2c9e57c 100644 --- a/src/test/resources/test-extension-config.xml +++ b/src/test/resources/test-extension-config.xml @@ -1,14 +1,13 @@