![]() ![]() MariaDB > ~]# Step 2: Create a new user and a database for SSOĮnter the following commands to create the new ~]# cat mariadb_rhsso74_db_setup.sql Thanks for using ~]# mysql -h localhost -uroot -predhat Remove test database and access to it? YĪll done! If you've completed all of the above steps, your MariaDB This step can be done through the following ~]# yum install mariadb-server mariadb ~]# systemctl enable ~]# systemctl start ~]# /usr/bin/mysql_secure_installation Step 1: Install and configure a MariaDB or MySQL database server ![]() To perform the steps in this section, you must first log in as root on a Red Hat Enterprise Linux (RHEL) 7 system. Setting up and configuring the MariaDB or MySQL database ![]() You will learn how to connect the image to an external MariaDB or MySQL server running outside of OpenShift using a custom JDBC driver. My next article will cover deploying an SSO image in Red Hat OpenShift. Note: This article is the first in a series about using SSO with external databases. We'll use MariaDB for the example, but the instructions should also work for MySQL. This article shows you how to install and configure Red Hat's single sign-on technology to connect to a more mature database. So, it is highly recommended to replace this H2 database with a more production-ready external database. However, this H2 database is not viable in high-concurrency situations and should not be used in a cluster. Out of the box, single sign-on uses its own Java-based embedded relational database, called H2, to store persistent data. The goal of Red Hat's single sign-on technology is to make security simple, so that it is easy for application developers to secure the apps and services they have deployed in their organization. Red Hat's single sign-on (SSO) technology, based on the Keycloak open source project, is Red Hat's solution for securing web applications and RESTful web services. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |