Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
This article describes authentication profiles in Smart ID Identity Manager and how to configure them. Authentication profiles are used to define how users can gain access to Identity Manager and what they gain access to.
Authentication is done in two steps:
- Authentication: login in with a certain user credential. The user will be extracted from the credential depending on the authentication type.
- Authorization: after successful authentication the assigned roles for the user are determined depending on the authentication type.
The following authentication profiles are available:
Authentication / Login mechanism
Authorization / Roles / Permissions
Internal
In the runtime systemThis article describes authentication profiles in Smart ID Identity Manager and how to configure them. Authentication profiles are used to define how users can gain access to Identity Manager and what they gain access to.
Authentication is done in two steps:
- Authentication: login in with a certain user credential. The user will be extracted from the credential depending on the authentication type.
- Authorization: after successful authentication the assigned roles for the user are determined depending on the authentication type.
The following authentication profiles are available:
Authentication profile | Authentication / Login mechanism | User / Principal | Authorization / Roles / Permissions |
---|---|---|---|
Internal In the runtime system (Identity Manager Operator and Smart ID Self-Service), this profile type is not recommended for production. Usually, the administrator of Identity Manager Admin has an internal account. | Login with username and password based on internal user table | Username | Roles from internal roles table |
LDAP | External login mechanism based on LDAP | DN from LDAP configuration | Group membership in LDAP directory is mapped to internal roles |
LDAP Core Object | External login mechanism based on LDAP | DN from LDAP configuration | Internal roles mapped to core objects |
Client Certificate and LDAP | Client certificate login based on LDAP | Configured attribute in certificate | Group membership in LDAP directory is mapped to internal roles |
Client Certificate Internal In the runtime system (Identity Manager Operator and Smart ID Self-Service), this profile type is not recommended for production. |
| Client certificate login based on internal user |
Configured attribute in certificate | Roles from internal roles table |
External login mechanism based on LDAP
Client Certificate Core Object | Client certificate login based on Core Objects | Configured attribute in certificate | Internal roles mapped to core objects |
Smart Card and Core Object |
Client Certificate and LDAP
This authentication profile is deprecated, but can still be used for older versions of Identity Manager. From PRIME 3.9, use Client Certificate Core Object. | Smart card certificate | Configured attribute in certificate |
Client Certificate Internal
In the runtime system (Identity Manager Operator and Smart ID Self-Service), this profile type is not recommended for production.
Client Certificate Core Object
Internal roles mapped to core objects | |||
Username and Password Core Object | Login with username and password based on core objects | Username | Internal roles mapped to core objects |
SAML SSO Core Object | External login with SAML SSO | Configured attribute in SAML token | Internal roles mapped to core objects |
Smart Card and Core Object
This authentication profile is deprecated, but can still be used for older versions of Identity Manager. From PRIME 3.9, use Client Certificate Core Object.
SAML SSO LDAP | External login with SAML SSO. | Configured attribute in |
Internal roles mapped to core objects
Internal roles mapped to core objects
SAML SSO Core Object
SAML token | Group membership in LDAP directory is mapped to internal roles | |
SAML SSO Group | External login with SAML SSO. | Configured attribute in SAML token |
Internal roles mapped to core objects
Configured attribute in SAML token |
Prerequisites
Expand | ||
---|---|---|
| ||
The following prerequisites apply:
|
Step-by-step instruction
title | Log in to Identity Manager Admin |
---|
Expand | ||
---|---|---|
| ||
To set up an authentication profile:
|
Configure profile types
The configuration of authentication profiles differs according to the different profile types.
Find your selected authentication profile type below and follow the instruction to set up the configuration.
Expand | ||
---|---|---|
| ||
No further configuration required. |
Expand | ||
---|---|---|
| ||
|
Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
|
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
| |||||||||||||||
Expand | |||||||||||||||
| |||||||||||||||
|
Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
|
Expand | ||
---|---|---|
| ||
| ||
Expand | ||
|
Note |
---|
This authentication profile is deprecated, but can still be used for older versions of Identity Manager. From PRIME 3.9, use the Client Certificate Core Object profil. |
- In Certificate settings: select the method, which extracts the information from the certificate used to identify the user:
- User Principal Name (UPN)
- SAN Email (RFC822Name)
- Subject CN
- Subject Email
- In User identification: enter details to map the
userPrincipalName
to a core object.- In Identity template, select one or more core object types, for example, Employee and Contractor, on which the core object search will be performed. The first matching template will be used.
- In User name field, select the core object field to match the user, for example UPN or Email. Identity Manager will use it to search the core object in the selected identity template.
- In User display, enter fields in a comma separated list, for example FirstName,LastName. These fields are used to display the logged in user in Identity Manager Operator or Smart ID Self-Service.
- In Identity template, select one or more core object types, for example, Employee and Contractor, on which the core object search will be performed. The first matching template will be used.
Expand | ||
---|---|---|
| ||
|
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
In this context, Alias refers to the location and thus the service provider to use when sending the SAML response to the application for processing. An Alias is mandatory. This is an example of an excerpt from a typical metadata file that defines the Assertion Consumer Service responsible for processing the SAML response. The Alias in this case is "explorer". Code Block |
|
Expand | ||
---|---|---|
| ||
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Expand | ||
---|---|---|
| ||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
This authentication profile analyzes the SAML response only to determine the user's roles after a successful login. The administrator has to configure the attribute which will be read/parsed from the SAML response.
| |||||
Expand | |||||
| |||||
|
Configure post-login process
Expand | ||
---|---|---|
| ||
In order for a process to be started after you login in Identity Manager Operator, the process must end with the service task Login - Finalize post-login process. The post-login process is available for all authentication profiles.
When you configure a post-login process for an authentication profile which is core object based (that is: Username with Password Core Object, Client Certificate Core Object, LDAP Core Object and SAML SSO Core Object), add the process for each core template with which it should be used, as additional command.
|
Tenant ID settings
Expand | ||
---|---|---|
| ||
Using the correct URL, the desired authentication method can be called directly. You need to give a valid tenant ID (language will depend on browser language). Read more under headings "Login" and "Admin page" in Identity Manager Operator. Authentication method CertificateUse this URL: https://<idmhost>:<idmPort>/<idmApplicationName>/cert/login?tenantId=X (Example: https://localhost:8444/idm-admin/cert/login?tenantId=32768) The port (default is 8444) must be configured in system.properties. Authentication method SAMLUse this URL: https://<idmhost>:<idmPort>/<idmApplicationName>/saml/login?tenantId=X (Example: http://localhost:8080/idm/saml/login?tenantId=1) Validate tenant idYou can use the flag "tenantContextFilter.shouldValidateTenant" in system.properties of Identity Manager for validation of the tenant id:
|
Configure Smart ID Self-Service login page
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Smart ID Self-Service has additional configuration options for the login page. You can enable or disable the different login mechanism in config.json, see this table:
|
Configure Identity Manager Operator login page
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Expand | ||
---|---|---|
| ||
|