Skip to main content
Accessible and manageable by roles that have the “Manage Authentication Services” permission such as “Project Owner”.

1) Identity Authentication Connection with Database

An image containing connection settings for identity authentication with database is shown below: Identity Authentication Connection with Database The fields used in connection settings for identity authentication with database are shown in the table below.
FieldDescription
NameName information of the created Database Identity Provider.
DescriptionA description can be written to facilitate management related to the created Identity Provider.
Encryption Type (Encryption Type)If password information is stored encrypted in the table to be used in the database connection, the encryption type of the password stored in the table must be selected. Options: NONE, MD2, MD5, SHA1, SHA224, SHA256, SHA384, SHA512, Blowfish, RC2, RC4, AES CBC NoPadding, AES CBC PKCS5Padding, AES ECB NoPadding, AES ECB PKCS5Padding, AES GCM NoPadding, AES CFB NoPadding, AES CFB PKCS5Padding, AES OFB NoPadding, AES OFB PKCS5Padding, AES CTR NoPadding, AES CTR PKCS5Padding, DES CBC NoPadding, DES CBC PKCS5Padding, DES ECB NoPadding, DES ECB PKCS5Padding, DESede CBC NoPadding, DESede CBC PKCS5Padding, DESede ECB NoPadding, DESede ECB PKCS5Padding
Database Connection Pool Definition (Database Connection Pool Definition)The pool from which the database connection will be obtained is selected or created.
Query (Query)A query is used to get username/password pairs or role list from the database. In the query, the username parameter should be defined as “:username” and if there is a password parameter, it should be defined as “:password”. Apinizer works with these special parameter names.

Example query: select role_name from t_user_role where email=:username and pwd=:password
Test Username (Test Username)Enter the value that will be used instead of the username parameter when running the test query. You can select values from environment setting variables next to the field.
Test Password (Test Password)Enter the value that will be used instead of the password parameter when running the test query. You can select values from environment setting variables next to the field.
Environment (Environment)Select the environment for the Test Connection operation. This determines which environment variables are used in the test.
Variable Button (Variable)You can select dynamic values for fields using the [<> Variable] button at the top of the page. For details, review Dynamic Variables.

2) Identity Authorization Connection with Database

When performing identity authorization, the role field of the relevant user is obtained in the database query. This role field is later matched with the ROLES/GROUPS field in Authorization in the proxy policy. An image containing connection settings for identity authorization with database is shown below: Identity Authorization Connection with Database