Rollen und Berechtigungen
In Keycloak dient eine Rolle als eine Art Label, das wir einem Benutzer oder einer Gruppe von Benutzern zuweisen können, um bestimmte Berechtigungen zu vergeben. Ein Benutzer mit einer bestimmten Rolle kann daraufhin bestimmte Aktionen ausführen oder auf bestimmte Ressourcen zugreifen, je nachdem, wie client-Anwendungen diese Rollen interpretieren.
Realm-Rollen vs. Client-Rollen
Realm-Rollen: Diese Rollen sind auf Realm-Ebene definiert und gelten für den gesamten Realm. Das heißt, wenn Sie eine Realm-Rolle zu einem Benutzer hinzufügen, hat der Benutzer diese Rolle in jeder Anwendung innerhalb dieses Realms. Realm-Rollen sind ideal für Berechtigungen, die über viele Services hinweg gelten sollen. Diese Rollen sind oft allgemeine Rollen, wie z.B. admin
, user
oder manager
.
Client-Rollen: Diese Rollen sind spezifisch für einen bestimmten Client innerhalb eines Realms. Sie würden Client-Rollen verwenden, wenn Sie einer Anwendung spezifische Rollen hinzufügen möchten. Diese Rollen sind nützlich, um Berechtigungen auf Anwendungsebene feiner zu steuern.
Composite-Rollen: Keycloak erlaubt es auch, sogenannte Composite-Rollen zu erstellen. Ein Composite ist im Grunde eine Rolle, die eine Sammlung von anderen Rollen enthält. Dabei ist es möglich, sowohl Realm-Rollen als auch Client-Rollen in einer einzigen Composite-Rolle zu bündeln. Der Hauptvorteil davon ist, dass Sie eine Reihe von Berechtigungen gruppieren können, die zusammen einen bestimmten Zweck oder Kontext erfüllen.
- Vorteile:
- Modularität: Durch die Verwendung von Composite-Rollen können Sie eine modularere und wiederverwendbare Rollen- und Berechtigungsstruktur erstellen. Einzelne Rollen können für spezifische Aufgaben definiert werden, und Composite-Rollen können diese dann zu einer umfassenderen Rolle kombinieren.
- Einfache Verwaltung: Änderungen an den zugrunde liegenden Rollen werden automatisch auf alle Composite-Rollen angewendet, die diese enthalten. Das vereinfacht die Verwaltung und Wartung von Berechtigungen.
- Flexibilität: Sie können eine Rolle für einen speziellen Anwendungsfall zusammenstellen, ohne neue Rollen erstellen zu müssen. Zum Beispiel könnte eine Composite-Rolle namens `
store-manager
` die Rollen `inventory-management
`, `employee management
` und `customer-service
` beinhalten.
- Erstellung:
- Realm-Ebene: Wenn Sie unter Roles eine Realm-Rolle auswählen, können Sie diese durch die Option Actions -> Add associated roles zu einer Composite-Rolle machen. Im dann folgenden Dialog können Sie zwischen „Filter by realm roles“ und „Filter by clients“ wechseln, um genau die Rollen auszuwählen, die Sie hinzufügen möchten.
- Client-Ebene: Ähnlich wie bei Realm-Rollen können Sie auch bei den Client-Rollen unter Actions -> Add associated roles andere Rollen hinzufügen. Auch hier haben Sie die Möglichkeit, im Dialog zwischen „Filter by realm roles“ und „Filter by clients“ zu wechseln, um die passenden Rollen auszuwählen.
Werbung/Advertising
<🔥 BestsellerLenovo ThinkVision T24v-10 schwarz 23,8 Zoll Full HD 1920x1080 HDMI DisplayPort VGA Höhenverstellbar 61BCMAR6
Preis: 159,00 EUR
Zum AngebotLG 24BK550Y-B schwarz 24 Zoll Full HD 1920x1080 VGA DVI DisplayPort HDMI Höhenverstellbar
Preis: 119,00 EUR
Zum AngebotFujitsu Display B22-8 WE Neo 22 Zoll HD+ 1680x1050 DisplayPort DVI-D VGA Höhenverstellbar NEU & OVP
Preis: 139,00 EUR
Zum AngebotFujitsu Esprimo D956 E85+ Desktop Intel Quad Core i5 256GB SSD 8GB Windows 10 Home
Preis: 219,00 EUR
Zum AngebotAOC I2475PXQU-GR Pro-line LED grau 23,8 Zoll Full HD 1920x1080 DisplayPort HDMI DVI-D VGA USB Höhenverstellbar
Preis: 119,00 EUR
Zum AngebotEizo FlexScan EV2436W-BK schwarz 24 Zoll WUXGA 1920x1200 DisplayPort DVI Höhenverstellbar
Preis: 159,00 EUR
Zum Angebot 🔥 BestsellerHP ZBook 15 G6 15,6 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 16GB Windows 10 Pro
Preis: 898,00 EUR
Zum AngebotApple iPhone 11 Smartphone Handy 6,1 Zoll 128GB Speicher Schwarz
Preis: 279,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5420 Rugged 14 Zoll Touch Display Intel Core i5 512GB SSD 16GB Windows 11 Pro
Preis: 809,00 EUR
Zum Angebot 🔥 BestsellerHP EliteBook 840 G8 14 Zoll 1920x1080 Full HD Intel Core i5 256GB SSD 16GB Windows 10 Pro - Neugerät
Preis: 728,00 EUR
Zum AngebotPhilips V-Line 243V7QDSB 24 Zoll Full HD 1920x1080 IPS VGA DVI HDMI Schwarz NEU & OVP
Preis: 139,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre neo 50q Gen 4 Intel Core i5-13420H 256GB SSD 16GB Windows 11 Pro inkl. W-Lan - Neugerät
Preis: 659,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre M70q Tiny Intel Core i5-10500T 2TB SSD 16GB Windows 11 Pro
Preis: 579,00 EUR
Zum AngebotFujitsu Esprimo P758 E85+ Intel Core i5-8500 512GB SSD 16GB Windows 10 Pro
Preis: 319,00 EUR
Zum AngebotFujitsu Celsius M740 Intel Xeon Quad Core E5 v4 512GB SSD 32GB Windows 10 Pro Nvidia Quadro
Preis: 719,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre neo 50q Gen 4 Intel Core i5-13420H 512GB SSD 16GB Windows 11 Pro inkl. W-Lan - Neugerät
Preis: 679,00 EUR
Zum AngebotEizo FlexScan EV2436WFS-GY Lichtgrau 24 Zoll WUXGA 1920x1200 DisplayPort DVI VGA
Preis: 149,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre Tiny-in-One 24 Gen 4 schwarz 23,8 Zoll Full HD 1920x1080 DisplayPort inkl. Webcam
Preis: 259,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre neo 50q Gen 4 Intel Core i5-13420H 256GB SSD 8GB Windows 11 Pro inkl. W-Lan - Neugerät
Preis: 639,00 EUR
Zum Angebot 🔥 BestsellerHP ZBook 15 G6 15,6 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 32GB Windows 11 Pro Nvidia Quadro
Preis: 779,00 EUR
Zum Angebot 🔥 BestsellerHP ZBook Fury 15 G8 15,6 Zoll 3840x2160 4K UHD Intel Core i7 512GB SSD 32GB Windows 10 Pro Nvidia Quadro T1200
Preis: 759,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre M70q Gen 5 Tiny Intel Core i5 256GB SSD 8GB Windows 11 Pro inkl. W-Lan - Neugerät
Preis: 719,00 EUR
Zum AngebotFujitsu Esprimo D756 E85+ Intel Pentium G4400 256GB SSD 4GB Windows 10 Pro DVD Brenner
Preis: 219,00 EUR
Zum AngebotMSA-1 Monitorschwenkarm High Quality, Aluminium silbergrau, inkl. Tischbefestigung
Preis: 168,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre M70q Gen 5 Tiny Intel Core i5 256GB SSD 16GB Windows 11 Pro inkl. W-Lan - Neugerät
Preis: 749,00 EUR
Zum AngebotMicrosoft Office 365 Business Standard - 1 Nutzer
Preis: 159,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5410 14 Zoll 1920x1080 Full HD Intel Core i7 1TB SSD 32GB Windows 11 Pro Webcam
Preis: 629,00 EUR
Zum AngebotApple iPad 6 Tablet 9,7 Zoll Retina Multi-Touch 128GB SSD Wi-Fi + Cellular Space Grau
Preis: 339,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkStation P520c Intel Xeon W-2133 512GB SSD 32GB Windows 11 Pro Nvidia Quadro P4000
Preis: 699,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkCentre Tiny-in-One 24 Gen 4 schwarz 23,8 Zoll Full HD 1920x1080 DisplayPort inkl. Webcam - Neugerät
Preis: 269,00 EUR
Zum AngebotFujitsu Esprimo P758 E85+ Intel Core i5-8500 512GB SSD 16GB Windows 11 Pro
Preis: 299,00 EUR
Zum AngebotFujitsu Esprimo D956 E85+ Desktop Intel Quad Core i5 256GB SSD 8GB Windows 10 Pro
Preis: 269,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 7420 14 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 16GB Windows 11 Pro Webcam
Preis: 629,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5510 15,6 Zoll 1920x1080 Full HD Intel Core i7 1TB SSD 32GB Windows 11 Home Webcam
Preis: 739,00 EUR
Zum Angebot 🔥 BestsellerHP ZBook Fury 15 G7 15,6 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 32GB Windows 11 Pro Nvidia Quadro
Preis: 729,00 EUR
Zum AngebotApple iPhone SE (2022) 64GB Dual-SIM Mitternacht MMXF3ZD/A
Preis: 389,00 EUR
Zum Angebot 🔥 BestsellerLenovo Thinkpad Thunderbolt 3 Dock 40AC Dockingstation inkl. 135 Watt Netzteil inkl. USB-C Kabel
Preis: 129,00 EUR
Zum AngebotApple iPad Air 2 Tablet 9,7 Zoll Retina Multi-Touch 64GB SSD Wi-Fi + Cellular Space Grau
Preis: 219,00 EUR
Zum AngebotFujitsu B24-8 TE Pro LED grau 23,8 Zoll Full-HD 1920x1080 DVI-D DisplayPort VGA
Preis: 139,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5510 15,6 Zoll 1920x1080 Full HD Intel Core i5 512GB SSD 16GB Windows 11 Pro Webcam
Preis: 609,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkStation P520c Intel Xeon W-2133 512GB SSD 32GB Windows 10 Pro Nvidia Quadro P4000
Preis: 699,00 EUR
Zum AngebotApple iPhone XR Smartphone Handy 6,1 Zoll 64GB Speicher Schwarz
Preis: 189,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkVision T24v-10 schwarz 23,8 Zoll Full HD 1920x1080 HDMI DisplayPort VGA Höhenverstellbar
Preis: 159,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkStation P330 Tower Gen 2 Intel Core i7 512GB SSD 32GB Windows 11 Pro Nvidia Quadro RTX 4000
Preis: 899,00 EUR
Zum Angebot 🔥 BestsellerHP ZBook Fury 15 G7 15,6 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 32GB Windows 11 Pro Nvidia Quadro T1000
Preis: 879,00 EUR
Zum Angebot 🔥 BestsellerLenovo Thinkpad Thunderbolt 3 Dock 40AC Dockingstation inkl. 135 Watt Netzteil inkl. USB-C Kabel 40AC0135EU
Preis: 119,00 EUR
Zum AngebotApple iPhone 7 Smartphone Handy 4,7 Zoll 32GB Speicher Schwarz
Preis: 129,00 EUR
Zum AngebotFujitsu P2410 TS CAM schwarz 23,8 Zoll Full HD 1920x1080 HDMI DisplayPort USB inkl. Webcam - Neugerät
Preis: 169,00 EUR
Zum AngebotFujitsu Esprimo Q556 Intel Core i3 128GB SSD 4GB Windows 10 Home DVD Brenner
Preis: 199,00 EUR
Zum Angebot 🔥 BestsellerDell Precision 7550 15,6 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 32GB Windows 11 Pro Nvidia Quadro
Preis: 789,00 EUR
Zum AngebotApple iPhone XR Smartphone Handy 6,1 Zoll 128GB Speicher Schwarz
Preis: 229,00 EUR
Zum AngebotFujitsu Celsius M740 Intel Xeon Core E5 1620 v4 512GB SSD + 2TB HDD 32GB Windows 10 Pro Nvidia Quadro
Preis: 388,00 EUR
Zum Angebot 🔥 BestsellerHP EliteBook 845 G8 14 Zoll 1920x1080 Full HD AMD Ryzen 7 PRO 512GB SSD 16GB Windows 11 Pro Fingerprint
Preis: 759,00 EUR
Zum Angebot 🔥 BestsellerDell UltraSharp U2412M schwarz 24 Zoll WUXGA 1920x1200 DisplayPort DVI-D VGA USB Höhenverstellbar
Preis: 139,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkPad Thunderbolt 3 Dock 40AC Dockingstation inkl. 135 Watt Netzteil inkl. USB-C Kabel 40AC0135EU
Preis: 119,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5440 14 Zoll 1920x1080 Full HD Intel Core i5 256GB SSD 16GB Windows 11 Pro Webcam
Preis: 629,00 EUR
Zum AngebotEizo FlexScan EV2736W-BK LED IPS 27 Zoll WQHD 2560x1440 DisplayPort DVI Schwarz
Preis: 279,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkStation P330 Tiny USDT Intel Six Core i7 512GB SSD 16GB Windows 11 Pro Nvidia Quadro
Preis: 558,00 EUR
Zum AngebotFujitsu Esprimo Q957 Intel Core i3 128GB SSD + 500GB HDD 8GB Windows 10 Home
Preis: 219,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5530 15,6 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 16GB Windows 11 Pro Webcam
Preis: 749,00 EUR
Zum AngebotApple iPad 7 Tablet 10,2 Zoll Retina Multi-Touch 32GB SSD Wi-Fi Space Grau
Preis: 179,00 EUR
Zum Angebot 🔥 BestsellerHP ZBook Firefly 15 G7 15,6 Zoll 1920x1080 Full HD Intel Core i5 512GB SSD 16GB Windows 11 Pro Fingerprint
Preis: 779,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkPad Universal Thunderbolt 4 Dock Dockingstation inkl. 135 Watt Netzteil inkl. Thunderbolt 4 Kabel 40B00135EU
Preis: 149,00 EUR
Zum Angebot 🔥 BestsellerDell P2419HC schwarz 23,8 Zoll Full HD 1920x1080 DisplayPort HDMI USB Höhenverstellbar
Preis: 199,00 EUR
Zum AngebotEizo FlexScan EV2450-GY LED grau 24 Zoll Full HD 1920x1080 HDMI DisplayPort VGA DVI Höhenverstellbar
Preis: 168,00 EUR
Zum Angebot 🔥 BestsellerHP ZBook Fury 15 G8 15,6 Zoll 3840x2160 4K UHD Intel Core i7 512GB SSD 32GB Windows 11 Pro Nvidia Quadro T1200
Preis: 749,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5510 15,6 Zoll 1920x1080 Full HD Intel Core i7 1TB SSD 32GB Windows 11 Pro Webcam
Preis: 759,00 EUR
Zum Angebot 🔥 BestsellerLenovo ThinkVision T24v-10 schwarz 23,8 Zoll Full HD 1920x1080 HDMI DisplayPort VGA Höhenverstellbar 61BCMAR6EU
Preis: 149,00 EUR
Zum AngebotApple iPhone 11 Smartphone Handy 6,1 Zoll 64GB Speicher Schwarz
Preis: 279,00 EUR
Zum AngebotFujitsu Esprimo D956 E85+ Desktop Intel Quad Core i5 256GB SSD 4GB Windows 10 Pro DVD Brenner
Preis: 269,00 EUR
Zum Angebot 🔥 BestsellerHP EliteBook 840 G7 14 Zoll 1920x1080 Full HD Intel Core i7 512GB SSD 32GB Windows 10 Pro LTE
Preis: 808,00 EUR
Zum AngebotEizo FlexScan EV2456-BK schwarz 24 Zoll WUXGA 1920x1200 DisplayPort HDMI DVI-D VGA USB Höhenverstellbar
Preis: 209,00 EUR
Zum Angebot 🔥 BestsellerDell Latitude 5430 14 Zoll 1920x1080 Full HD Intel Core i5 512GB SSD 16GB Windows 11 Pro LTE
Preis: 968,00 EUR
Zum Angebot>Rollenzuweisung an Benutzer und Gruppen
Zuweisung an Benutzer
Sie können Rollen direkt an einen Benutzer zuweisen. Das machen Sie in der Admin-Konsole unter „Benutzer“, indem Sie einen bestimmten Benutzer auswählen und dann zur Tab „Rollen“ wechseln. Hier können Sie Realm-Rollen und Client-Rollen auswählen und dem Benutzer zuweisen.
Zuweisung an Gruppen
Wenn Sie eine Rolle mehreren Benutzern gleichzeitig zuweisen möchten, ist es effizienter, diese einer Gruppe zuzuweisen. Alle Benutzer in dieser Gruppe erben dann die Rollen, die der Gruppe zugewiesen sind. Das machen Sie unter „Gruppen“ und dann „Rollen“.
Werbung/Advertising
Microsoft Windows Server 2022

Preis: 349,90 EUR
Zum AngebotAdobe Acrobat Standard 2020 OEM

Preis: 900,00 EUR
Zum AngebotOffice 2016 Professional

Preis: 14,90 EUR
Zum AngebotAdobe Photoshop Elements 2025

Preis: 190,00 EUR
Zum AngebotMicrosoft Excel 2019

Preis: 14,90 EUR
Zum AngebotPanda Dome Advanced MD

Preis: 15,00 EUR
Zum AngebotMicrosoft Word 2016

Preis: 14,90 EUR
Zum AngebotKaspersky Mobile

Preis: 25,00 EUR
Zum AngebotAVG Internet Security

Preis: 25,00 EUR
Zum AngebotWindows Server 2022 CALS

Preis: 99,90 EUR
Zum AngebotOffice 2021 Home and Business

Preis: 24,90 EUR
Zum AngebotWindows 10 Pro

Preis: 14,90 EUR
Zum AngebotMcAfee Internet Security

Preis: 25,00 EUR
Zum AngebotVisio 2019 Professional

Preis: 14,90 EUR
Zum AngebotOffice 2019 Professional Plus

Preis: 14,90 EUR
Zum AngebotOffice 2024 Home

Preis: 44,90 EUR
Zum AngebotPinnacle Studio 26 (2023) STANDARD Windows / Deutsch

Preis: 110,00 EUR
Zum AngebotOffice 2016 Home and Student

Preis: 14,90 EUR
Zum AngebotMicrosoft Excel 2021

Preis: 19,90 EUR
Zum AngebotMicrosoft Word 2021

Preis: 14,90 EUR
Zum AngebotWindows Server 2016

Preis: 99,90 EUR
Zum AngebotWindows 10/11 Home

Preis: 14,90 EUR
Zum AngebotOffice 2021 Home and Student

Preis: 19,90 EUR
Zum AngebotNorton 360 Deluxe inkl. 25GB MD

Preis: 25,00 EUR
Zum AngebotMcAfee VPN Safe Connect

Preis: 30,00 EUR
Zum AngebotWindows 11 Home

Preis: 19,90 EUR
Zum AngebotWindows Server 2022 RDS CALS

Preis: 109,90 EUR
Zum AngebotBitdefender Antivirus Plus

Preis: 50,00 EUR
Zum AngebotOffice 2019 Professional

Preis: 39,90 EUR
Zum AngebotWindows 10/11 Pro

Preis: 19,90 EUR
Zum AngebotWindows Server 2016 RDS CALS

Preis: 64,90 EUR
Zum AngebotAVG Ultimate

Preis: 25,00 EUR
Zum AngebotOffice 2024 Professional

Preis: 39,90 EUR
Zum AngebotOffice 2021 Professional Plus + Windows 11 Professional Bundle

Preis: 24,90 EUR
Zum AngebotOffice 2019 Home and Business

Preis: 19,90 EUR
Zum AngebotAvast Premium Security

Preis: 20,00 EUR
Zum AngebotOffice 2016 Home and Business

Preis: 14,90 EUR
Zum AngebotOffice 2021 Professional Plus + Windows 11 Professional GRATIS

Preis: 24,90 EUR
Zum AngebotOffice 2021 Professional

Preis: 19,90 EUR
Zum AngebotWindows Server 2019 RDS CALS

Preis: 93,90 EUR
Zum AngebotTrend Micro Antivirus + Security

Preis: 20,00 EUR
Zum AngebotWindows 10 Home

Preis: 14,90 EUR
Zum AngebotOffice 2019 Home and Student

Preis: 19,90 EUR
Zum AngebotOffice 2024 Professional Plus

Preis: 29,99 EUR
Zum AngebotWindows Server 2019 CALS

Preis: 87,90 EUR
Zum AngebotWatchdog Anti-Malware Vollversion

Preis: 25,00 EUR
Zum AngebotWindows Server Standard 2022

Preis: 194,90 EUR
Zum AngebotVisio 2016 Professional

Preis: 14,90 EUR
Zum AngebotESET NOD32 Antivirus

Preis: 50,00 EUR
Zum AngebotWindows Server 2016 CALS

Preis: 64,90 EUR
Zum AngebotMicrosoft Word 2019

Preis: 14,90 EUR
Zum AngebotMicrosoft Office 2021 Standard

Preis: 24,90 EUR
Zum AngebotMicrosoft Powerpoint 2019

Preis: 29,90 EUR
Zum AngebotOffice 2019 Professional plus

Preis: 39,90 EUR
Zum AngebotBitdefender Premium VPN

Preis: 90,00 EUR
Zum AngebotMicrosoft Windows Server 2022 Datacenter

Preis: 219,00 EUR
Zum AngebotOffice 2021 Professional Plus f?r 3 Ger?te

Preis: 23,50 EUR
Zum AngebotMcAfee Total Protection

Preis: 15,00 EUR
Zum AngebotAVG TuneUp ESD

Preis: 25,00 EUR
Zum AngebotOffice 2021 Professional Plus

Preis: 19,90 EUR
Zum AngebotPanda Dome Essential MD

Preis: 15,00 EUR
Zum AngebotMicrosoft Office 2019 Standard

Preis: 19,90 EUR
Zum AngebotWindows 11 Pro

Preis: 14,90 EUR
Zum AngebotCorelCAD 2021 Upgrade Windows/Mac ESD

Preis: 180,00 EUR
Zum AngebotmySteganos Online Shield VPN

Preis: 55,00 EUR
Zum AngebotPanda Dome Complete MD

Preis: 25,00 EUR
Zum AngebotRealm Roles anlegen
- Im Realm
olymp
- Ream roles →
Create role
admin
- Ream roles →
Create role
user
- Ream roles →

Create Realm Role
Client Roles anlegen
- Clients →
athen
→ Tab Roles →Create role
client_admin
- Clients →
athen
→ Tab Roles →Create role
client_user

Create Client Role
Composite-Roles anlegen
- Realm roles →
admin
→ Associated roles → Action → Add associated Roles → Filter by clients- Auswählen
(athen)client_admin
(athen)client_user
Assign
- Auswählen
1. Add associated roles

Create Composite Role – Part 1
2. Filter by clients

Create Composite Role – Part 2
3. Assign roles to admin

Create Composite Role – Part 3
Eine weitere Composite-Role
- Realm roles →
user
→ Associated roles → Action → Add associated Roles → Filter by clients- Auswählen
(athen)client_user
Assign
- Auswählen
Die Wirkung der Zuordnung einer zusammengesetzten Rolle
Das Zuweisen einer zusammengesetzten Rolle wie ‚admin‘ zu einem Benutzer hat den Vorteil, dass dieser Benutzer nun alle Berechtigungen erbt, die mit den einzelnen Rollen verbunden sind, aus denen die zusammengesetzte Rolle besteht. Im Fall von ‚zeus‘ bedeutet dies:
- Durch die Realm-Rolle ‚admin‘ erhält der Benutzer administrative Privilegien auf der Ebene des Realms.
- Mit der Client-Rolle ‚Role client_admin‘ bekommt ‚zeus‘ administrative Rechte für den Client ‚athen‘.
- Die Client-Rolle ‚Role client_user‘ gewährt ‚zeus‘ zusätzliche benutzerspezifische Rechte für denselben Client.
Das macht die Verwaltung von Berechtigungen viel effizienter und übersichtlicher. Statt mehrere einzelne Rollen zu verwalten, können Sie einfach eine zusammengesetzte Rolle erstellen und diese einem Benutzer zuweisen. Die zusammengesetzte Rolle dient quasi als eine Art „Rechte-Bündel“, das einfach verteilt und verwaltet werden kann.
Nun wissen wir, wie Realms, User und Rollen angelegt werden und wie man eine oder mehrere Rollen einem User zuordnet. Jetzt ist ein guter Zeitpunkt, um das einmal auszuprobieren:
- Erstellen Sie einen User hercules im Realm olymp
- Erstellen Sie ein Passwort für den User hercules
- Weisen Sie dem neuen User die Realm- (composite) Role user zu
Sie können natürlich beliebig andere User hinzufügen. In den hier gezeigten Beispielen ist der Einfachheit halber der Username immer identisch mit dem Passwort.
Ausblick
Demnächst steht die Konfiguration des Realms olymp
sowie eine Spring-Demo-Anwendung zum Authorization-Code-Flow
auf GitHub zur Verfügung.
Werbung/Advertising
Windows Server 2016 RDS CALS

Preis: 64,90 EUR
Zum AngebotMcAfee VPN Safe Connect

Preis: 30,00 EUR
Zum AngebotWindows Server 2022 RDS CALS

Preis: 109,90 EUR
Zum AngebotOffice 2016 Professional

Preis: 14,90 EUR
Zum AngebotWindows Server Standard 2022

Preis: 194,90 EUR
Zum AngebotKaspersky Mobile

Preis: 25,00 EUR
Zum AngebotWindows 11 Home

Preis: 19,90 EUR
Zum AngebotWindows 10 Pro

Preis: 14,90 EUR
Zum AngebotAvast Premium Security

Preis: 20,00 EUR
Zum AngebotPanda Dome Essential MD

Preis: 15,00 EUR
Zum AngebotPanda Dome Advanced MD

Preis: 15,00 EUR
Zum AngebotWindows 11 Pro

Preis: 14,90 EUR
Zum AngebotOffice 2021 Professional

Preis: 19,90 EUR
Zum AngebotESET NOD32 Antivirus

Preis: 50,00 EUR
Zum AngebotPanda Dome Complete MD

Preis: 25,00 EUR
Zum AngebotOffice 2021 Professional Plus + Windows 11 Professional GRATIS

Preis: 24,90 EUR
Zum AngebotMicrosoft Windows Server 2022 Datacenter

Preis: 219,00 EUR
Zum AngebotOffice 2019 Professional plus

Preis: 39,90 EUR
Zum AngebotOffice 2019 Professional

Preis: 39,90 EUR
Zum AngebotOffice 2021 Home and Business

Preis: 24,90 EUR
Zum AngebotMicrosoft Office 2021 Standard

Preis: 24,90 EUR
Zum AngebotMicrosoft Windows Server 2022

Preis: 349,90 EUR
Zum AngebotNorton 360 Deluxe inkl. 25GB MD

Preis: 25,00 EUR
Zum AngebotWindows Server 2016

Preis: 99,90 EUR
Zum AngebotMcAfee Total Protection

Preis: 15,00 EUR
Zum AngebotAdobe Photoshop Elements 2025

Preis: 190,00 EUR
Zum AngebotOffice 2019 Professional Plus

Preis: 14,90 EUR
Zum AngebotAVG Internet Security

Preis: 25,00 EUR
Zum AngebotOffice 2024 Professional

Preis: 39,90 EUR
Zum AngebotWindows 10/11 Pro

Preis: 19,90 EUR
Zum AngebotmySteganos Online Shield VPN

Preis: 55,00 EUR
Zum AngebotTrend Micro Antivirus + Security

Preis: 20,00 EUR
Zum AngebotMicrosoft Word 2016

Preis: 14,90 EUR
Zum AngebotOffice 2019 Home and Business

Preis: 19,90 EUR
Zum AngebotWindows Server 2022 CALS

Preis: 99,90 EUR
Zum AngebotBitdefender Antivirus Plus

Preis: 50,00 EUR
Zum AngebotWindows Server 2019 RDS CALS

Preis: 93,90 EUR
Zum AngebotOffice 2024 Home

Preis: 44,90 EUR
Zum AngebotPinnacle Studio 26 (2023) STANDARD Windows / Deutsch

Preis: 110,00 EUR
Zum AngebotAdobe Acrobat Standard 2020 OEM

Preis: 900,00 EUR
Zum AngebotMicrosoft Powerpoint 2019

Preis: 29,90 EUR
Zum AngebotOffice 2021 Home and Student

Preis: 19,90 EUR
Zum AngebotOffice 2016 Home and Business

Preis: 14,90 EUR
Zum AngebotAVG Ultimate

Preis: 25,00 EUR
Zum AngebotAVG TuneUp ESD

Preis: 25,00 EUR
Zum AngebotVisio 2016 Professional

Preis: 14,90 EUR
Zum AngebotCorelCAD 2021 Upgrade Windows/Mac ESD

Preis: 180,00 EUR
Zum AngebotOffice 2021 Professional Plus + Windows 11 Professional Bundle

Preis: 24,90 EUR
Zum AngebotMicrosoft Word 2021

Preis: 14,90 EUR
Zum AngebotWatchdog Anti-Malware Vollversion

Preis: 25,00 EUR
Zum AngebotWindows Server 2019 CALS

Preis: 87,90 EUR
Zum AngebotOffice 2016 Home and Student

Preis: 14,90 EUR
Zum AngebotMicrosoft Office 2019 Standard

Preis: 19,90 EUR
Zum AngebotMicrosoft Excel 2021

Preis: 19,90 EUR
Zum AngebotOffice 2019 Home and Student

Preis: 19,90 EUR
Zum AngebotMicrosoft Word 2019

Preis: 14,90 EUR
Zum AngebotMcAfee Internet Security

Preis: 25,00 EUR
Zum AngebotOffice 2021 Professional Plus

Preis: 19,90 EUR
Zum AngebotOffice 2024 Professional Plus

Preis: 29,99 EUR
Zum AngebotWindows 10/11 Home

Preis: 14,90 EUR
Zum AngebotWindows Server 2016 CALS

Preis: 64,90 EUR
Zum AngebotOffice 2021 Professional Plus f?r 3 Ger?te

Preis: 23,50 EUR
Zum AngebotWindows 10 Home

Preis: 14,90 EUR
Zum AngebotMicrosoft Excel 2019

Preis: 14,90 EUR
Zum AngebotVisio 2019 Professional

Preis: 14,90 EUR
Zum AngebotBitdefender Premium VPN

Preis: 90,00 EUR
Zum Angebot