diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/verify.yaml similarity index 53% rename from .forgejo/workflows/test.yaml rename to .forgejo/workflows/verify.yaml index eaba13b..9f88d22 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/verify.yaml @@ -1,10 +1,12 @@ on: pull_request: push: + branches: + - main jobs: - test: - name: Test + ansible-lint: + name: Verify runs-on: docker steps: - uses: actions/checkout@v7 @@ -12,6 +14,6 @@ jobs: run: | apt update apt install -y maven - - name: Run maven verify test + - name: Run maven verify run: | - mvn -f attribute-endpoints-provider verify test + mvn -f attribute-endpoints-provider --batch-mode --no-transfer-progress verify diff --git a/README.md b/README.md index 3c9986e..88347db 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Attribute Endpoints Provider - Export User Attributes This is a Keycloak Provider that exports user profile attribute values. -The selection of attributes and authorization is manage through an endpoint configuration. +The selection of attributes and authorization is managed through an endpoint configuration in the Keycloak admin website. ## Usage @@ -43,7 +43,7 @@ Once all dependencies are met, simply call `make` to build the provider, which s There's also `make clean` available for removing the output directory. -To add the provider to your Keycloak install, copy `attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar` to the Keycloak Provider directory (`/opt/keycloak/providers/). +To add the provider to your Keycloak install, copy `attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar` to the Keycloak Provider directory (`/opt/keycloak/providers/`). ## Testing Setup diff --git a/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java b/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java index eec6aa1..81ebcaa 100644 --- a/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java +++ b/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java @@ -128,6 +128,7 @@ public class AdminUiPage implements UiPageProvider, UiPageProviderFactory