Compare commits

...

52 commits
v1.0.5 ... main

Author SHA1 Message Date
d5e58bbf3d use the bare jar from the ear instead
All checks were successful
build / build (push) Successful in 1m14s
publish / build (push) Successful in 1m19s
2025-05-04 14:26:09 -04:00
4193af72d5 swithc to jar
All checks were successful
build / build (push) Successful in 1m14s
publish / build (push) Successful in 1m21s
2025-05-04 14:13:06 -04:00
5a99e80dd6 Update to 3.5.0
All checks were successful
build / build (push) Successful in 1m22s
publish / build (push) Successful in 1m27s
2025-05-04 13:36:43 -04:00
1dac7430ab Merge pull request 'Bump dependency-check-maven from 6.2.2 to 8.0.1' (#84) from dependabot/maven/org.owasp-dependency-check-maven-8.0.1 into main
Some checks failed
build / build (push) Failing after 25s
Reviewed-on: #84
2025-05-04 13:21:35 -04:00
4dff98547e Merge pull request 'Bump plexus-archiver from 4.2.5 to 4.6.1' (#81) from dependabot/maven/org.codehaus.plexus-plexus-archiver-4.6.1 into main
Some checks failed
build / build (push) Has been cancelled
Reviewed-on: #81
2025-05-04 13:21:25 -04:00
95288b5d6b Merge pull request 'Bump checkstyle from 8.45.1 to 10.6.0' (#80) from dependabot/maven/com.puppycrawl.tools-checkstyle-10.6.0 into main
Some checks failed
build / build (push) Has been cancelled
Reviewed-on: #80
2025-05-04 13:21:16 -04:00
9e58e78c95 Merge pull request 'Bump extra-enforcer-rules from 1.3 to 1.6.1' (#55) from dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.1 into main
Some checks failed
build / build (push) Has been cancelled
Reviewed-on: #55
2025-05-04 13:21:04 -04:00
ccdf91cc9f Merge pull request 'Bump buildnumber-maven-plugin from 1.4 to 3.0.0' (#15) from dependabot/maven/org.codehaus.mojo-buildnumber-maven-plugin-3.0.0 into main
All checks were successful
build / build (push) Successful in 1m3s
Reviewed-on: #15
2025-05-04 13:17:53 -04:00
8f9453dc42 Update keycloak version for myself
All checks were successful
build / build (push) Successful in 1m29s
2025-05-04 12:49:33 -04:00
c1c0919162 call this develop
All checks were successful
build / build (push) Successful in 1m12s
2025-05-04 12:48:07 -04:00
987eb1b136 try this?
Some checks failed
build / build (push) Failing after 18s
publish / build (push) Successful in 59s
2025-05-04 12:46:08 -04:00
9142d74592 must have version
Some checks failed
build / build (push) Failing after 10s
publish / build (push) Successful in 1m40s
2025-05-04 12:26:13 -04:00
0398b44dc2 Use this?
Some checks failed
build / build (push) Failing after 3s
publish / build (push) Failing after 0s
2025-05-04 12:25:07 -04:00
4902673b5a Create release directory
Some checks failed
build / build (push) Failing after 7s
publish / build (push) Failing after 6s
2025-05-04 12:16:32 -04:00
bf59a7c89b use more defaults
Some checks failed
build / build (push) Successful in 54s
publish / build (push) Failing after 56s
2025-05-04 12:01:00 -04:00
662887901c needs forgejo release
Some checks failed
build / build (push) Successful in 55s
publish / build (push) Failing after 1m9s
2025-05-04 11:55:11 -04:00
1322d81435 i am an idiot, this was working
Some checks failed
build / build (push) Successful in 1m12s
publish / build (push) Failing after 1m12s
2025-05-04 11:48:54 -04:00
aaf7646061 only supports published
All checks were successful
build / build (push) Successful in 1m2s
2025-05-04 11:47:13 -04:00
cc30f29ff8 needs this way i guess?
Some checks failed
build / build (push) Successful in 1m8s
publish / build (push) Failing after 1m59s
2025-05-04 11:42:19 -04:00
5fa99b5291 try this way?
Some checks failed
build / build (push) Has been cancelled
2025-05-04 11:41:02 -04:00
a7e99a79fe recreate publish
Some checks failed
build / build (push) Successful in 1m6s
publish / build (push) Failing after 1m4s
2025-05-04 11:39:12 -04:00
f1ff8bbb18 need path
All checks were successful
build / build (push) Successful in 1m1s
2025-05-04 11:32:43 -04:00
3302326d34 Add maven step
Some checks failed
build / build (push) Failing after 4s
2025-05-04 11:31:48 -04:00
255edee7e5 what going on?
Some checks failed
build / build (push) Failing after 43s
2025-05-04 11:29:01 -04:00
4ff65f6515 what going on?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:27:13 -04:00
9e5667e91b what going on?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:25:36 -04:00
5d81cacaac what going on?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:23:35 -04:00
cedccf0d57 change command name?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:20:56 -04:00
9556d8c5f4 readd the checkout step, use java 21 temurin
Some checks failed
build / build (push) Failing after 22s
2025-05-04 11:19:45 -04:00
916700c5e4 url for setup-java
Some checks failed
build / build (push) Failing after 38s
2025-05-04 11:15:33 -04:00
7ea08f45aa Change runs-on
Some checks failed
build / build (push) Failing after 1m5s
2025-05-04 11:12:26 -04:00
bf9403538f hide other workflows for now
Some checks are pending
build / build (push) Waiting to run
2025-05-04 11:10:01 -04:00
4b60617ce3 move to forgejo actions, need to convert things still
Some checks failed
build / build (push) Waiting to run
analyze / analyze (java) (push) Has been cancelled
2025-05-04 11:08:07 -04:00
dependabot[bot]
6dd945d31e
Bump dependency-check-maven from 6.2.2 to 8.0.1
Bumps [dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 6.2.2 to 8.0.1.
- [Release notes](https://github.com/jeremylong/DependencyCheck/releases)
- [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jeremylong/DependencyCheck/compare/v6.2.2...v8.0.1)

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-maven
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 18:04:11 +00:00
dependabot[bot]
d5d5d925fe
Bump plexus-archiver from 4.2.5 to 4.6.1
Bumps [plexus-archiver](https://github.com/codehaus-plexus/plexus-archiver) from 4.2.5 to 4.6.1.
- [Release notes](https://github.com/codehaus-plexus/plexus-archiver/releases)
- [Changelog](https://github.com/codehaus-plexus/plexus-archiver/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/codehaus-plexus/plexus-archiver/compare/plexus-archiver-4.2.5...plexus-archiver-4.6.1)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-archiver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 18:04:04 +00:00
dependabot[bot]
420e0c8e32
Bump checkstyle from 8.45.1 to 10.6.0
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45.1 to 10.6.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.45.1...checkstyle-10.6.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 18:03:50 +00:00
dependabot[bot]
b764de0227
Bump extra-enforcer-rules from 1.3 to 1.6.1
Bumps [extra-enforcer-rules](https://github.com/mojohaus/extra-enforcer-rules) from 1.3 to 1.6.1.
- [Release notes](https://github.com/mojohaus/extra-enforcer-rules/releases)
- [Commits](https://github.com/mojohaus/extra-enforcer-rules/compare/extra-enforcer-rules-1.3...extra-enforcer-rules-1.6.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:extra-enforcer-rules
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 18:38:10 +00:00
dependabot[bot]
fc688101e6
Bump buildnumber-maven-plugin from 1.4 to 3.0.0
Bumps [buildnumber-maven-plugin](https://github.com/mojohaus/buildnumber-maven-plugin) from 1.4 to 3.0.0.
- [Release notes](https://github.com/mojohaus/buildnumber-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/buildnumber-maven-plugin/compare/buildnumber-maven-plugin-1.4...buildnumber-maven-plugin-3.0.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:buildnumber-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 18:22:07 +00:00
Luca Filipozzi
1cc79e4f10 bump pom version to 1.0.9 2021-08-23 13:28:32 -07:00
Luca Filipozzi
22a445d2c4 improve documentation 2021-08-23 13:20:55 -07:00
Luca Filipozzi
5468bb8e78 improve templates 4/n 2021-08-23 11:53:19 -07:00
Luca Filipozzi
7ce67acb94 improve templates 3/n 2021-08-23 11:49:20 -07:00
Luca Filipozzi
a2bc6de419 improve tempaltes 2021-08-23 11:33:20 -07:00
Luca Filipozzi
3130c3c169 Update issue and feature request templates 2021-08-23 11:08:14 -07:00
Luca Filipozzi
b88a0c698c improve tempaltes 2021-08-23 11:01:17 -07:00
Luca Filipozzi
0c71b6d95f improve documentation 2021-08-23 10:02:38 -07:00
Luca Filipozzi
598662a70b remove distribution management 2021-08-22 22:59:04 -07:00
Luca Filipozzi
27a25ea9f4 codacy, fine, you get one 2021-08-22 22:55:16 -07:00
Luca Filipozzi
c20d822abc codacy, make up you rmind 2021-08-22 22:51:05 -07:00
Luca Filipozzi
7f24a67ddc ignore summon; improve READEM 2021-08-22 22:48:33 -07:00
Luca Filipozzi
8a5372a82e fix workflows 3/n 2021-08-22 16:38:03 -07:00
Luca Filipozzi
cd19681826 fix workflows 2/n 2021-08-22 16:22:47 -07:00
16 changed files with 370 additions and 54 deletions

View file

@ -0,0 +1,28 @@
---
name: Bug Report
about: Report a problem with this project
title: ''
labels: ''
assignees: ''
---
### Expected Behaviour
Please provide a description of the expected behaviour.
### Actual Behavior
Please provide a description of the actual behaviour.
### Steps To Reproduce
Please provide the steps to reproduce the issue.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

View file

@ -0,0 +1,24 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
### Desired Behaviour
Please provide a description of the desired behaviour.
### Actual Behavior
Please provide a description of the actual behaviour.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

6
.forgejo/dependabot.yml Normal file
View file

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View file

@ -0,0 +1,7 @@
### Description
Please provide a description that details the content of the pull request.
Please also indicate whether any issues are fixed.
Fixes # (issue)

View file

@ -0,0 +1,32 @@
# name: analyze
#
# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
# schedule:
# - cron: '24 21 * * 6'
#
# jobs:
# analyze:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# language: [ 'java' ]
# permissions:
# actions: read
# contents: read
# security-events: write
# steps:
# - name: checkout repository
# uses: actions/checkout@v2
# - name: initialize CodeQL
# uses: github/codeql-action/init@v1
# with:
# languages: ${{ matrix.language }}
# - name: autobuild
# uses: github/codeql-action/autobuild@v1
# - name: perform CodeQL analysis
# uses: github/codeql-action/analyze@v1

View file

@ -0,0 +1,25 @@
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: docker
steps:
- name: checkout repository
uses: https://gitea.com/actions/checkout@v2
- name: set up java
uses: https://gitea.com/actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Set up Maven
uses: https://github.com/stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: build with maven
run: mvn --batch-mode --file pom.xml package

View file

@ -0,0 +1,33 @@
name: publish
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: docker
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: set up java
uses: https://gitea.com/actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Set up Maven
uses: https://github.com/stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: build with maven
run: mvn --batch-mode --file pom.xml -Drevision=${GITHUB_REF_NAME/v/} -Dkeycloak.version=21.0.0 package
- name: copy jars
run: |-
mkdir -p release/jars
cp -v bundle/target/keycloak-regex-mapper-*/com.github.lucafilipozzi-keycloak-regex-mapper-*.jar release/jars
- name: upload to release
uses: actions/forgejo-release@v2.6.0
with:
direction: upload
release-dir: 'release/jars'

View file

@ -1,38 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
name: Bug Report
about: Report a problem with this project
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
### Expected Behaviour
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Please provide a description of the expected behaviour.
**Expected behavior**
A clear and concise description of what you expected to happen.
### Actual Behavior
**Screenshots**
If applicable, add screenshots to help explain your problem.
Please provide a description of the actual behaviour.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
### Steps To Reproduce
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Please provide the steps to reproduce the issue.
**Additional context**
Add any other context about the problem here.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

View file

@ -0,0 +1,24 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
### Desired Behaviour
Please provide a description of the desired behaviour.
### Actual Behavior
Please provide a description of the actual behaviour.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

7
.github/pull_request_template.md vendored Normal file
View file

@ -0,0 +1,7 @@
### Description
Please provide a description that details the content of the pull request.
Please also indicate whether any issues are fixed.
Fixes # (issue)

View file

@ -16,5 +16,6 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: build with maven
run: mvn --batch-mode --file pom.xml package

View file

@ -16,7 +16,9 @@ jobs:
java-version: '11'
- name: build with maven
run: mvn --batch-mode --file pom.xml package
- name: publish to github packages
run: mvn --batch-mode --file pom.xml deploy
- name: upload to release
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ github.token }}⏎
GITHUB_TOKEN: ${{ github.token }}
with:
args: 'bundle/target/*.ear'

3
.gitignore vendored
View file

@ -9,3 +9,6 @@
# java
target/
# summon
secrets.yml

158
README.md
View file

@ -10,13 +10,13 @@
[![alerts][alerts-img]][alerts-url]
[![code quality][code-quality-img]][code-quality-url]
[![lines of code][lines-of-code-img]][lines-of-code-url]
[![maintainability][maintainability-img]][maintainability-url]
[![technical debt][technical-debt-img]][technical-debt-url]
[![vulnerabilities][vulnerabilities-img]][vulnerabilities-url]
# keycloak-regex-mapper
This project provides a [keycloak][keycloak] broker mapper that maps a
This project provides a [Keycloak][keycloak] broker mapper that maps a
multivalued OIDC claim (e.g.: groups) or SAML attribute (e.g.: groupMembership)
into one or more realm and/or client role assignments based on regular
expressions.
@ -29,7 +29,150 @@ Copy `keycloak-regex-mapper-«version».ear` to `${KEYCLOAK_HOME}/deployments`.
### configuration
TODO
The _Advanced Claim to Role_ (OIDC) and _Advanced Attribute to Role_ (SAML) mappers included with
Keycloak provide a mechanism to map specific claim/attribute values to a specific target realm or
client. This can be tedious to configure if there are many target roles that should be mapped.
The purpose of the _Regex Realm and Client Role Importer_ mappers (one for OIDC, one for SAML)
included in this project is to provide a mechanism to map many entries in an OIDC claim
( e.g., `groups`) or SAML attribute (e.g.: `groupMembership`) to target roles using a single
configured mapper.
The mechanism relies on two principles:
* that the claim / attribute provider uses clientId and realmName values when naming things... in
other words, the mapping exists on the claim/attribute provider
* assigning an attribute to each realm and claim role to be managed by the mapper
#### OIDC Example
Suppose that the claim provider has a group structure as follows:
```
/IdentityBrokers
/idb1 # this is the realm
/Roles # these are the realm roles
SupportAnalyst # A
member=alice
member=bob
/ServiceProviders # these are the clients
/sp1 # B
/Roles # these are the client roles for sp1
Impersonator # C
member=alice
/sp2 # D
/Roles # these are the client roles for sp2
OtherRole # E
member=bob
```
Then, when Alice logs in to / through idb1, the `groups` claim would contain:
```
IdentityBroker/idb1/Roles/SupportAnalysts
IdentityBroker/idb1/ServiceProviders/sp1/Roles/Impersonator
```
Whereas Bob's would contain:
```
IdentityBroker/idb1/Roles/SupportAnalysts
IdentityBroker/idb1/ServiceProviders/sp2/Roles/OtherRole
```
At the identity broker, realm and client roles would be configured as follows:
```
Roles # these are the realm roles
SupportAnalyst # matches A above
Clients
sp1 # matches B above
Roles # these are the client roles for sp1
Impersonator # matches C above
attribute:
key="automatically mapped"
value="true"
sp2 # matches D above
Roles # these are the client roles for sp2
OtherRole # matches E above
attribute:
key="automatically mapped"
value="true"
```
And the _Regex Realm and Client Role Importer_ mapper would be configured as follows:
| configuration key | value |
| ------------------------------- | ------------------------------------------------------------------------ |
| type | `Regex Realm and Client Role Importer` |
| name | `groups to realm and client roles` |
| sync mode override | `force` |
| OIDC claim name | `groups` |
| client roles attribute name | `automatically mapped` |
| client roles regular expression | `/IdentityBrokers/idb1/ServiceProviders/(?<client>.*)/Roles/(?<role>.*)` |
| realm roles attribute name | `automatically mapped` |
| realm roles regular expression | `/IdentityBrokers/idb1/Roles/(?<role>.*)` |
The purpose of the the `client roles attribute name` and the `realm roles attribute name` is to flag
for the mapper which client and realm roles to assign / un-assign. Otherwise, every role not
matching the regular expressions would be un-assigned, including those that might have been locally
assigned by an administrator.
Take note of the named groupings (e.g.: `(?<client>.*)` in the regular expressions:
* the `client roles regular expression` needs two: `client` and `role`.
* The `realm roles regular expression` only needs one: `role`.
#### SAML example
Suppose the attribute provider draws group membership from an LDAP server structured as follows:
```
dc=example,dc=com
ou=IdentityBrokers
ou=idb1
ou=Roles # realm roles
cn=SystemAnalyst
member=alice
member=bob
ou=ServiceProviders
ou=sp1
ou=Roles # client roles for sp1
cn=Impersonator
member=alice
ou=sp2
ou=Roles # client roles for sp2
cn=OtherRole
member=bob
```
For Alice, groupMembership would contain:
```
cn=SystemAnalyst,ou=Roles,ou=idb1,ou=IdentityBrokers,dc=example,dc=com
cn=Impersonator,ou=Roles,ou=sp1,ou=ServiceProviders,ou=idb1,ou=IdentityBrokers,dc=example,dc=com
```
For Bob, groupMembership would contain:
```
cn=SystemAnalyst,ou=Roles,ou=idb1,ou=IdentityBrokers,dc=example,dc=com
cn=OtherRole,ou=Roles,ou=sp2,ou=ServiceProviders,ou=idb1,ou=IdentityBrokers,dc=example,dc=com
```
Assuming the same realm and client role configuration as above (in the OIDC example), then the _Regex
Realm and Client Role Importer_ mapper would be configured as follows:
| configuration key | value |
| ------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| type | `Regex Realm and Client Role Importer` |
| name | `groups to realm and client roles` |
| sync mode override | `force` |
| SAML attribute name | `groupMembership` |
| client roles attribute name | `automatically mapped` |
| client roles regular expression | `cn=(^<role>.*),ou=Roles,ou=(^<client>.*),ou=ServiceProviders,ou=idb1,ou=IdentityBrokers,dc=example,dc=com` |
| realm roles attribute name | `automatically mapped` |
| realm roles regular expression | `cn=(^<role>.*),ou=Roles,ou=idb1,ou=IdentityBrokers,dc=example,dc=com` |
## development
@ -39,8 +182,8 @@ This project follows the module/bundle approach to packaging keycloak extensions
* `module` builds the jar that contains the keycloak extensions
* `bundle` builds the ear that contains the jar from `module` and the jars for
any not-provided dependencies
* `bundle` builds the ear that contains the jar from `module` and any jars that are
not designated as `provided` dependencies
### coding conventions
@ -55,7 +198,6 @@ This project uses:
---
Copyright 2021 Luca Filipozzi. Some rights reserved. See [LICENSE][license-url].
[keycloak]: https://keycloak.org/
[style-guide]: https://google.github.io/styleguide/javaguide.html
@ -83,9 +225,9 @@ Copyright 2021 Luca Filipozzi. Some rights reserved. See [LICENSE][license-url].
[code-quality-img]: https://badgen.net/lgtm/grade/g/LucaFilipozzi/keycloak-regex-mapper/java?icon=lgtm
[code-quality-url]: https://lgtm.com/projects/g/LucaFilipozzi/keycloak-regex-mapper/context:java
[lines-of-code-img]: https://badgen.net/codeclimate/loc/LucaFilipozzi/keycloak-regex-mapper?icon=codeclimate
[lines-of-code-url]: https://codeclimate.com/github/LucaFilipozzi/keycloak-regex-mapper
[maintainability-img]: https://badgen.net/codeclimate/maintainability/LucaFilipozzi/keycloak-regex-mapper?icon=codeclimate
[maintainability-url]: https://codeclimate.com/github/LucaFilipozzi/keycloak-regex-mapper/maintainability
[technical-debt-img]: https://badgen.net/codeclimate/tech-debt/LucaFilipozzi/keycloak-regex-mapper?icon=codeclimate
[technical-debt-url]: https://codeclimate.com/github/LucaFilipozzi/keycloak-regex-mapper/maintainability
[vulnerabilities-img]: https://badgen.net/snyk/LucaFilipozzi/keycloak-regex-mapper/main/pom.xml
[vulnerabilities-url]: https://snyk.io/test/github/lucafilipozzi/keycloak-regex-mapper?targetFile=pom.xml

View file

@ -1,6 +1,6 @@
# Security Policy
This project is provided on a 'time-avaialble' basis.
This project is provided on a 'time-available' basis.
If you have a security concern to report, please open an issue or a pull request.

26
pom.xml
View file

@ -42,21 +42,13 @@
<url>https://github.com/${github.account}/${project.artifactId}</url>
</scm>
<distributionManagement>
<repository>
<id>github</id>
<name>Github Packages</name>
<url>https://maven.pkg.github.com/${github.account}/${project.artifactId}</url>
</repository>
</distributionManagement>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<github.account>lucafilipozzi</github.account>
<revision>1.0.5</revision>
<keycloak.version>15.0.2</keycloak.version>
<revision>develop</revision>
<keycloak.version>26.0.7</keycloak.version>
</properties>
<!-- IMPORTANT: don't forget to update jboss-deployment-structure.xml -->
@ -151,7 +143,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<version>3.5.0</version>
<configuration>
<rules>
<!-- org.apache.maven.plugins:maven-enforcer-plugin -->
@ -159,7 +151,7 @@
<version>1.8</version>
</requireJavaVersion>
<requireMavenVersion>
<version>3.6.0</version>
<version>3.9.0</version>
</requireMavenVersion>
<requirePluginVersions>
<banLatest>true</banLatest>
@ -193,14 +185,14 @@
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.3</version>
<version>1.6.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<version>3.0.0</version>
</plugin>
<!-- compile -->
@ -241,7 +233,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<version>4.2.5</version>
<version>4.6.1</version>
</dependency>
</dependencies>
</plugin>
@ -260,7 +252,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.45.1</version>
<version>10.6.0</version>
</dependency>
</dependencies>
<configuration>
@ -282,7 +274,7 @@
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.2.2</version>
<version>8.0.1</version>
<configuration>
<skipProvidedScope>true</skipProvidedScope>
</configuration>