Compare commits
No commits in common. "main" and "v1.0.2" have entirely different histories.
15 changed files with 50 additions and 373 deletions
|
@ -1,28 +0,0 @@
|
||||||
---
|
|
||||||
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.)
|
|
|
@ -1,24 +0,0 @@
|
||||||
---
|
|
||||||
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.)
|
|
|
@ -1,6 +0,0 @@
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "maven"
|
|
||||||
directory: "/" # Location of package manifests
|
|
||||||
schedule:
|
|
||||||
interval: "daily"
|
|
|
@ -1,7 +0,0 @@
|
||||||
### Description
|
|
||||||
|
|
||||||
Please provide a description that details the content of the pull request.
|
|
||||||
|
|
||||||
Please also indicate whether any issues are fixed.
|
|
||||||
|
|
||||||
Fixes # (issue)
|
|
|
@ -1,32 +0,0 @@
|
||||||
# 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
|
|
|
@ -1,25 +0,0 @@
|
||||||
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
|
|
|
@ -1,33 +0,0 @@
|
||||||
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'
|
|
40
.github/ISSUE_TEMPLATE/bug_report.md
vendored
40
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -1,28 +1,38 @@
|
||||||
---
|
---
|
||||||
name: Bug Report
|
name: Bug report
|
||||||
about: Report a problem with this project
|
about: Create a report to help us improve
|
||||||
title: ''
|
title: ''
|
||||||
labels: ''
|
labels: ''
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Expected Behaviour
|
**Describe the bug**
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
Please provide a description of the expected behaviour.
|
**To Reproduce**
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
|
||||||
### Actual Behavior
|
**Expected behavior**
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
Please provide a description of the actual behaviour.
|
**Screenshots**
|
||||||
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
### Steps To Reproduce
|
**Desktop (please complete the following information):**
|
||||||
|
- OS: [e.g. iOS]
|
||||||
|
- Browser [e.g. chrome, safari]
|
||||||
|
- Version [e.g. 22]
|
||||||
|
|
||||||
Please provide the steps to reproduce the issue.
|
**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]
|
||||||
|
|
||||||
### Environment
|
**Additional context**
|
||||||
|
Add any other context about the problem here.
|
||||||
Please provide relevant details of your environment:
|
|
||||||
|
|
||||||
* keycloak version
|
|
||||||
* java version
|
|
||||||
* platform (O/S, etc.)
|
|
||||||
|
|
24
.github/ISSUE_TEMPLATE/feature_request.md
vendored
24
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
@ -1,24 +0,0 @@
|
||||||
---
|
|
||||||
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
7
.github/pull_request_template.md
vendored
|
@ -1,7 +0,0 @@
|
||||||
### Description
|
|
||||||
|
|
||||||
Please provide a description that details the content of the pull request.
|
|
||||||
|
|
||||||
Please also indicate whether any issues are fixed.
|
|
||||||
|
|
||||||
Fixes # (issue)
|
|
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
|
@ -14,11 +14,10 @@ jobs:
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
|
distribution: 'adopt'
|
||||||
- name: build with maven
|
- name: build with maven
|
||||||
run: mvn --batch-mode --file pom.xml package
|
run: mvn --batch-mode --file pom.xml package
|
||||||
- name: upload to release
|
- name: publish to github packages
|
||||||
uses: skx/github-action-publish-binaries@master
|
run: mvn --batch-mode --file pom.xml deploy
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}⏎
|
||||||
with:
|
|
||||||
args: 'bundle/target/*.ear'
|
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -9,6 +9,3 @@
|
||||||
|
|
||||||
# java
|
# java
|
||||||
target/
|
target/
|
||||||
|
|
||||||
# summon
|
|
||||||
secrets.yml
|
|
||||||
|
|
158
README.md
158
README.md
|
@ -10,13 +10,13 @@
|
||||||
[![alerts][alerts-img]][alerts-url]
|
[![alerts][alerts-img]][alerts-url]
|
||||||
[![code quality][code-quality-img]][code-quality-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]
|
[![maintainability][maintainability-img]][maintainability-url]
|
||||||
[![technical debt][technical-debt-img]][technical-debt-url]
|
[![technical debt][technical-debt-img]][technical-debt-url]
|
||||||
|
[![vulnerabilities][vulnerabilities-img]][vulnerabilities-url]
|
||||||
|
|
||||||
# keycloak-regex-mapper
|
# 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)
|
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
|
into one or more realm and/or client role assignments based on regular
|
||||||
expressions.
|
expressions.
|
||||||
|
@ -29,150 +29,7 @@ Copy `keycloak-regex-mapper-«version».ear` to `${KEYCLOAK_HOME}/deployments`.
|
||||||
|
|
||||||
### configuration
|
### configuration
|
||||||
|
|
||||||
The _Advanced Claim to Role_ (OIDC) and _Advanced Attribute to Role_ (SAML) mappers included with
|
TODO
|
||||||
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
|
## development
|
||||||
|
|
||||||
|
@ -182,8 +39,8 @@ This project follows the module/bundle approach to packaging keycloak extensions
|
||||||
|
|
||||||
* `module` builds the jar that contains the keycloak extensions
|
* `module` builds the jar that contains the keycloak extensions
|
||||||
|
|
||||||
* `bundle` builds the ear that contains the jar from `module` and any jars that are
|
* `bundle` builds the ear that contains the jar from `module` and the jars for
|
||||||
not designated as `provided` dependencies
|
any not-provided dependencies
|
||||||
|
|
||||||
### coding conventions
|
### coding conventions
|
||||||
|
|
||||||
|
@ -198,6 +55,7 @@ This project uses:
|
||||||
---
|
---
|
||||||
Copyright 2021 Luca Filipozzi. Some rights reserved. See [LICENSE][license-url].
|
Copyright 2021 Luca Filipozzi. Some rights reserved. See [LICENSE][license-url].
|
||||||
|
|
||||||
|
|
||||||
[keycloak]: https://keycloak.org/
|
[keycloak]: https://keycloak.org/
|
||||||
|
|
||||||
[style-guide]: https://google.github.io/styleguide/javaguide.html
|
[style-guide]: https://google.github.io/styleguide/javaguide.html
|
||||||
|
@ -225,9 +83,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-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
|
[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-img]: https://badgen.net/codeclimate/maintainability/LucaFilipozzi/keycloak-regex-mapper?icon=codeclimate
|
||||||
[maintainability-url]: https://codeclimate.com/github/LucaFilipozzi/keycloak-regex-mapper/maintainability
|
[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-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
|
[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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Security Policy
|
# Security Policy
|
||||||
|
|
||||||
This project is provided on a 'time-available' basis.
|
This project is provided on a 'time-avaialble' basis.
|
||||||
|
|
||||||
If you have a security concern to report, please open an issue or a pull request.
|
If you have a security concern to report, please open an issue or a pull request.
|
||||||
|
|
||||||
|
|
25
pom.xml
25
pom.xml
|
@ -37,18 +37,17 @@
|
||||||
</licenses>
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:https://github.com/${github.account}/${project.artifactId}</connection>
|
<connection>scm:git:https://github.com/lucafilipozzi/keycloak-regex-mapper</connection>
|
||||||
<developerConnection>scm:git:git://github.com/${github.account}/${project.artifactId}</developerConnection>
|
<developerConnection>scm:git:git://github.com/lucafilipozzi/keycloak-regex-mapper</developerConnection>
|
||||||
<url>https://github.com/${github.account}/${project.artifactId}</url>
|
<url>https://github.com/lucafilipozzi/keycloak-regex-mapper</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<github.account>lucafilipozzi</github.account>
|
<revision>1.0.2</revision>
|
||||||
<revision>develop</revision>
|
<keycloak.version>15.0.2</keycloak.version>
|
||||||
<keycloak.version>26.0.7</keycloak.version>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- IMPORTANT: don't forget to update jboss-deployment-structure.xml -->
|
<!-- IMPORTANT: don't forget to update jboss-deployment-structure.xml -->
|
||||||
|
@ -143,7 +142,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>3.5.0</version>
|
<version>3.0.0-M3</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<rules>
|
<rules>
|
||||||
<!-- org.apache.maven.plugins:maven-enforcer-plugin -->
|
<!-- org.apache.maven.plugins:maven-enforcer-plugin -->
|
||||||
|
@ -151,7 +150,7 @@
|
||||||
<version>1.8</version>
|
<version>1.8</version>
|
||||||
</requireJavaVersion>
|
</requireJavaVersion>
|
||||||
<requireMavenVersion>
|
<requireMavenVersion>
|
||||||
<version>3.9.0</version>
|
<version>3.6.0</version>
|
||||||
</requireMavenVersion>
|
</requireMavenVersion>
|
||||||
<requirePluginVersions>
|
<requirePluginVersions>
|
||||||
<banLatest>true</banLatest>
|
<banLatest>true</banLatest>
|
||||||
|
@ -185,14 +184,14 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>extra-enforcer-rules</artifactId>
|
<artifactId>extra-enforcer-rules</artifactId>
|
||||||
<version>1.6.1</version>
|
<version>1.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>1.4</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- compile -->
|
<!-- compile -->
|
||||||
|
@ -233,7 +232,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.codehaus.plexus</groupId>
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
<artifactId>plexus-archiver</artifactId>
|
<artifactId>plexus-archiver</artifactId>
|
||||||
<version>4.6.1</version>
|
<version>4.2.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -252,7 +251,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.puppycrawl.tools</groupId>
|
<groupId>com.puppycrawl.tools</groupId>
|
||||||
<artifactId>checkstyle</artifactId>
|
<artifactId>checkstyle</artifactId>
|
||||||
<version>10.6.0</version>
|
<version>8.45.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -274,7 +273,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.owasp</groupId>
|
<groupId>org.owasp</groupId>
|
||||||
<artifactId>dependency-check-maven</artifactId>
|
<artifactId>dependency-check-maven</artifactId>
|
||||||
<version>8.0.1</version>
|
<version>6.2.2</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<skipProvidedScope>true</skipProvidedScope>
|
<skipProvidedScope>true</skipProvidedScope>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Add table
Reference in a new issue