|
| 1 | +--- |
| 2 | +tags: |
| 3 | +- administration |
| 4 | +- admin-ui |
| 5 | +- configuration |
| 6 | +--- |
| 7 | + |
| 8 | +# Configuration |
| 9 | + |
| 10 | +This document outlines the configuration process for Gluu Flex Admin UI, with a focus on essential components stored in the Auth Server's persistence layer. These components include role-permission mapping, OIDC client details for accessing the Auth Server, OIDC client details for accessing the Token Server, OIDC client details for accessing the License Server, and license metadata. |
| 11 | + |
| 12 | +## Configuration Components |
| 13 | + |
| 14 | +### Role-Permission Mapping |
| 15 | + |
| 16 | +[Role-permission](./admin-menu.md/) mapping defines which administrative roles are granted specific permissions within the Gluu Flex Admin UI. This mapping ensures that administrators can only access and modify functionalities relevant to their roles. |
| 17 | + |
| 18 | +The mapping is stored in json format with following attributes. |
| 19 | + |
| 20 | +**Roles** |
| 21 | +|Attribute Name|Description| |
| 22 | +|--------------|-----------| |
| 23 | +|roles|Array of all roles| |
| 24 | +|role|Role name| |
| 25 | +|description| Role description| |
| 26 | + |
| 27 | +**Permissions** |
| 28 | +|Attribute Name|Description| |
| 29 | +|--------------|-----------| |
| 30 | +|permissions|Array of all available permissions| |
| 31 | +|permission|Permission name| |
| 32 | +|description| Permission description| |
| 33 | +|defaultPermissionInToken|If set to `true`, it indicates that permission will need authentication and valid role during `/token` request to include in token| |
| 34 | + |
| 35 | +**Mapping** |
| 36 | +|Attribute Name|Description| |
| 37 | +|--------------|-----------| |
| 38 | +|rolePermissionMapping| List of all role-permission mapping| |
| 39 | +|role|Role name| |
| 40 | +|permission|Array of all permission mapped to the role| |
| 41 | + |
| 42 | + |
| 43 | +### OIDC Client Details for Auth Server |
| 44 | + |
| 45 | +To establish secure communication with the Auth Server, Gluu Flex Admin UI requires the OIDC client details, including client ID and client secret. These details are used for authentication and authorization purposes. |
| 46 | + |
| 47 | +The information is stored in json format with following attributes. |
| 48 | + |
| 49 | +|Attribute Name|Description| |
| 50 | +|--------------|-----------| |
| 51 | +|authServerClient|Object with Auth Server client details| |
| 52 | +|opHost|Auth Server hostname| |
| 53 | +|clientId| Client Id of OIDC client used to access Auth server| |
| 54 | +|clientSecret| Client Secret of OIDC client used to access Auth server| |
| 55 | +|scopes|Scopes required for Admin UI authentication| |
| 56 | +|acrValues|ACR required for Admin UI authentication| |
| 57 | +|redirectUri|Redirect UI which is Admin UI home page| |
| 58 | +|postLogoutUri|Url to be redirected after Admin UI logout| |
| 59 | +|frontchannelLogoutUri|Front channel Logout Uri| |
| 60 | + |
| 61 | + |
| 62 | +### OIDC Client Details for Token Server |
| 63 | + |
| 64 | +Similarly, Gluu Flex Admin UI needs OIDC client details to interact with the Token Server. This enables the UI to request and manage access tokens required to access protected resources. |
| 65 | + |
| 66 | +The information is stored in json format with following attributes. |
| 67 | + |
| 68 | +|Attribute Name|Description| |
| 69 | +|--------------|-----------| |
| 70 | +|tokenServerClient|Object with Token Server client details| |
| 71 | +|opHost|Token Server hostname| |
| 72 | +|clientId| Client Id of OIDC client used to access Token server| |
| 73 | +|clientSecret| Client Secret of OIDC client used to access Token server| |
| 74 | +|tokenEndpoint|Token endpoint of token server| |
| 75 | + |
| 76 | +### OIDC Client Details for License Server |
| 77 | + |
| 78 | +Access to the License APIs is managed through OIDC client details. These details allows the Gluu Flex Admin UI Backend to generated access token to allow the retrieval of license-related information using license APIs. |
| 79 | + |
| 80 | +The information is stored in json format with following attributes. |
| 81 | + |
| 82 | +|Attribute Name|Description| |
| 83 | +|--------------|-----------| |
| 84 | +|opHost|Auth Server hostname used to generate token to access License APIs| |
| 85 | +|clientId| Client Id of OIDC client used to generate token to access License APIs| |
| 86 | +|clientSecret| Client Secret of OIDC client used to generate token to access License APIs| |
| 87 | + |
| 88 | +### License Metadata |
| 89 | + |
| 90 | +License metadata includes relevant information about the Gluu Flex Admin UI's licensing, such as License Key, Hardware id, License server url, License Auth server url, SSA used to register license auth server client. |
| 91 | + |
| 92 | +The information is stored in json format with following attributes. |
| 93 | + |
| 94 | +|Attribute Name|Description| |
| 95 | +|--------------|-----------| |
| 96 | +|licenseConfig|Object with License configuration details| |
| 97 | +|ssa|SSA used to register OIDC client to access license APIs| |
| 98 | +|scanLicenseApiHostname| SCAN License server hostname| |
| 99 | +|licenseHardwareKey|Hardware key (org_id) to access license APIs| |
0 commit comments