Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "BaSyx / Scenarios / Authorization"

Line 1: Line 1:
== Setting up Keycloak ==
+
= Setting up Keycloak =
  
 
Keycloak is an open source software product to allow single sign-on with Identity and Access Management aimed at modern applications and services. As of March 2018 this WildFly community project is under the stewardship of Red Hat who use it as the upstream project for their RH-SSO product.
 
Keycloak is an open source software product to allow single sign-on with Identity and Access Management aimed at modern applications and services. As of March 2018 this WildFly community project is under the stewardship of Red Hat who use it as the upstream project for their RH-SSO product.
  
=== Startup ===
+
== Startup ==
 
To start the Keycloak, you can use the following command:
 
To start the Keycloak, you can use the following command:
  
Line 11: Line 11:
 
  http://127.0.0.1:9006/auth
 
  http://127.0.0.1:9006/auth
  
 +
== Setup ==
 
The initial screen for the admin console appears.
 
The initial screen for the admin console appears.
  
[[File:AdminConsole.png|Admin|500px]]
+
[[File:AdminConsole.png|Admin|500px|Reference]]
 +
 
 +
=== Realms and users ===
 +
When you log in to the admin console, you work in a realm, which is a space where you manage objects. Two types of realms exist:
 +
 
 +
* '''Master realm''' - This realm was created for you when you first started Keycloak. It contains the admin account you created at the first login. You use this realm only to create other realms.
 +
 
 +
* '''Other realms''' - These realms are created by the admin in the master realm. In these realms, administrators create users and applications. The applications are owned by the users.

Revision as of 19:05, 6 February 2022

Setting up Keycloak

Keycloak is an open source software product to allow single sign-on with Identity and Access Management aimed at modern applications and services. As of March 2018 this WildFly community project is under the stewardship of Red Hat who use it as the upstream project for their RH-SSO product.

Startup

To start the Keycloak, you can use the following command:

docker run -p 9006:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin jboss/keycloak

The admin console can be open in the browser using below link:

http://127.0.0.1:9006/auth

Setup

The initial screen for the admin console appears.

Reference

Realms and users

When you log in to the admin console, you work in a realm, which is a space where you manage objects. Two types of realms exist:

  • Master realm - This realm was created for you when you first started Keycloak. It contains the admin account you created at the first login. You use this realm only to create other realms.
  • Other realms - These realms are created by the admin in the master realm. In these realms, administrators create users and applications. The applications are owned by the users.

Back to the top