Added provider section to docs
This commit is contained in:
1 parent
67ba1de56f
commit
c5bfaa6051
9 files changed
+311
-29
No files matched your search
@@ -1,4 +1,7 @@
|
||||
Example Event Listener that prints events to System.out
|
||||
=======================================================
|
||||
|
||||
To deploy copy target/event-listener-sysout-example.jar to standalone/deployments/auth-server.war/WEB-INF/lib. Then start (or restart) the server. Once started open the admin console, select your realm, then click on Events, followed by config. Click on Listeners select box, then pick sysout from the dropdown. After this try to logout and login again to see events printed to System.out.
|
||||
To deploy copy target/event-listener-sysout-example.jar to standalone/configuration/providers.
|
||||
Then start (or restart) the server. Once started open the admin console, select your realm, then click on Events,
|
||||
followed by config. Click on Listeners select box, then pick sysout from the dropdown. After this try to logout and
|
||||
login again to see events printed to System.out.
|
||||
@@ -1,7 +1,9 @@
|
||||
Example Event Store that stores events in memory
|
||||
================================================
|
||||
|
||||
To deploy copy target/event-store-mem-example.jar to standalone/deployments/auth-server.war/WEB-INF/lib. Then edit standalone/configuration/keycloak-server.json, change:
|
||||
To deploy copy target/event-store-mem-example.jar to standalone/configuration/providers.
|
||||
|
||||
Then edit standalone/configuration/keycloak-server.json, change:
|
||||
|
||||
"eventsStore": {
|
||||
"provider": "jpa"
|
||||
@@ -13,4 +15,6 @@ to:
|
||||
"provider": "in-mem"
|
||||
}
|
||||
|
||||
Then start (or restart)the server. Once started open the admin console, select your realm, then click on Events, followed by config. Set the toggle for Enabled to ON. After this try to logout and login again then open the Events tab again in the admin console to view events from the in-mem provider.
|
||||
Then start (or restart)the server. Once started open the admin console, select your realm, then click on Events,
|
||||
followed by config. Set the toggle for Enabled to ON. After this try to logout and login again then open the Events tab
|
||||
again in the admin console to view events from the in-mem provider.
|
||||
@@ -2,8 +2,8 @@ Example User Federation Provider
|
||||
===================================================
|
||||
|
||||
This is an example of user federation backed by a simple properties file. This properties file only contains username/password
|
||||
key pairs. To deploy, build this directory then take the jar and copy it to the WEB-INF/lib of the keycloak server's
|
||||
WAR file. You will then have to restart the authentication server.
|
||||
key pairs. To deploy, build this directory then take the jar and copy it to standalone/configuration/providers.
|
||||
You will then have to restart the authentication server.
|
||||
|
||||
The ClasspathPropertiesFederationProvider is an example of a readonly provider. If you go to the Users/Federation
|
||||
page of the admin console you will see this provider listed under "classpath-properties. To configure this provider you
|
||||
|
||||
Reference in new issue
Block a user