No description
Find a file
Thomas Darimont 57c633967a KEYCLOAK-3599 Revise Script based OIDC ProtocolMapper
We now use the `ScriptingProvider` API instead of
using the `ScriptEngineManager` because dynamic
`ScriptEngineManager` lookups might fail in some
environments like JBoss EAP.

Refactored `AbstractOIDCProtocolMapper` to provide
a new version of the `setClaim(..)` method which takes a
`KeycloakSession` as additional argument.
The old `setClaim(..)` method is marked as deprecated and
should be scheduled for removal in a later release.
To ensure backwards compatibility we call the old `setClaim(..)`
from the new `setClaim(..,keycloakSession)` method in order
to not break user implementations of OIDC ProtocolMappers.

The existing OIDC ProtocolMappers which override the old
`setClaim(..)` method should be updated to use the new version
`setClaim(..,keycloakSession)`.

This was necessary to be able to lookup a `ScriptingProvider`.
2017-09-22 22:57:07 +02:00
adapters Update OAuthRequestAuthenticator.java (#4427) 2017-09-12 08:24:36 +02:00
authz KEYCLOAK-4858: Slow query performance for client with large data volume 2017-09-06 09:55:53 -03:00
boms Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
common KEYCLOAK-910 KEYCLOAK-5455 2017-09-21 17:15:18 -04:00
core KEYCLOAK-910 KEYCLOAK-5455 2017-09-21 17:15:18 -04:00
dependencies Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
distribution KEYCLOAK-1250 Profile and console loader for new account management console 2017-09-14 19:53:02 +02:00
examples correct typo in example SecretQuestionAuthenticator 2017-09-11 13:13:47 +02:00
federation KEYCLOAK-5510 2017-09-21 13:11:49 +02:00
integration KEYCLOAK-5328 Documentation issue for kcadm.sh set-password command 2017-09-18 20:01:31 +02:00
misc KEYCLOAK-5480 Cross-DC setup: Remote cache stores are connecting to Infinispan servers in both datacenters 2017-09-18 18:04:04 +02:00
model KEYCLOAK-5480 Cross-DC setup: Remote cache stores are connecting to Infinispan servers in both datacenters 2017-09-18 18:04:04 +02:00
proxy Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
saml-core Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
saml-core-api Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
server-spi KEYCLOAK-4899 Replace updates to user session with temporary auth session 2017-09-11 21:43:49 +02:00
server-spi-private KEYCLOAK-910 KEYCLOAK-5455 2017-09-21 17:15:18 -04:00
services KEYCLOAK-3599 Revise Script based OIDC ProtocolMapper 2017-09-22 22:57:07 +02:00
testsuite KEYCLOAK-3599 Add Script based OIDC ProtocolMapper 2017-09-22 21:24:20 +02:00
themes KEYCLOAK-3599 Add Script based OIDC ProtocolMapper 2017-09-22 21:24:20 +02:00
util Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
wildfly Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
.gitattributes KEYCLOAK-1385 Introduce end-of-line normalization 2015-07-17 13:46:51 +02:00
.gitignore KEYCLOAK-5391: Add node_modules back to repository for commons theme (#4457) 2017-09-05 14:27:19 -04:00
.travis.yml Fix Travis testsuite errors - dist=precise 2017-07-21 14:53:13 +02:00
License.html distro 2014-01-07 14:37:50 -05:00
pom.xml KEYCLOAK-5498 Update infinispan version to 8.2.8.Final to align with version in Wildfly 2017-09-18 18:05:35 +02:00
README.md KEYCLOAK-5354 update READMEs (#4443) 2017-08-30 11:55:52 +02:00
travis-run-tests.sh Fix Tomcat 6 issues (#4478) 2017-09-15 09:55:42 +02:00

Keycloak

Open Source Identity and Access Management for modern Applications and Services.

For more information about Keycloak visit Keycloak homepage and Keycloak blog.

Building

Ensure you have JDK 8 (or newer), Maven 3.1.1 (or newer) and Git installed

java -version
mvn -version
git --version

First clone the Keycloak repository:

git clone https://github.com/keycloak/keycloak.git
cd keycloak

To build Keycloak run:

mvn install

This will build all modules and run the testsuite.

To build the distribution run:

mvn install -Pdistribution

Once completed you will find distribution archives in distribution.

Starting Keycloak

To start Keycloak during development first build as specified above, then run:

mvn -f testsuite/utils/pom.xml exec:java -Pkeycloak-server 

To start Keycloak from the server distribution first build the distribution it as specified above, then run:

tar xfz distribution/server-dist/target/keycloak-<VERSION>.tar.gz
cd keycloak-<VERSION>
bin/standalone.sh

To stop the server press Ctrl + C.

Help and Documentation

  • Documentation - User Guide, Admin REST API and Javadocs
  • User Mailing List - Mailing list to ask for help and general questions about Keycloak
  • JIRA - Issue tracker for bugs and feature requests

Contributing

License