
kcadm.sh create realms -s realm=security-realm -s enabled=true -o kcadm.sh config credentials -server -realm master -user admin -password admin

Here is a basic script which will create:

You can either create the Keycloak Realm from the UI, or you can use the kcadm.sh script available in the “ bin” folder of Keycloak. Then, we will create a Realm with an User and some MetaData information in it. We assume that you have an admin user with “admin” as user and password. We will use port 8180 to avoid conflicts with our application running on Port 8080. If you are new to Keycloak we recommend checking this introduction tutorial: Getting started with Keycloak powered by Quarkusįirstly, start Keycloak server. This tutorial assumes that you are using the latest version of Keycloak,(powered by Quarkus). In this tutorial, we will show an example application which retrieves User Metadata and Custom Attributes for a Keycloak Realm. Besides that, you can store arbitrary user attributes, also called Custom Attributes. Java API for XML-Based Web Services (JAX-WS) 2.Each user that is stored in Keycloak can store basic Metadata information such as name and email. Java Architecture for XML Binding (JAXB) 2.2 SOAP with Attachments API for Java (SAAJ) Specification 1.3 Java EE Application Deployment 1.2 (Optional)ĭebugging Support for Other Languages 1.0 Java Authorization Contract for Containers 1.5 Java Authentication Service Provider Interface for Containers 1.1 Java API for XML Registries (JAXR) 1.0 (Optional) Java API for XML-Based RPC (JAX-RPC) 1.1 (Optional) Web Services Metadata for the Java Platform 2.1 Java API for RESTful Web Services (JAX-RS) 2.1 Standard Tag Library for JavaServer Pages (JSTL) 1.2īatch Applications for the Java Platform 1.0Ĭontexts and Dependency Injection for Java 2.0Ĭommon Annotations for the Java Platform 1.3 Java Platform, Enterprise Edition 8 (Java EE 8)


Java EE 8 continues to improve API and programming models needed for today's applications and adds features requested by our world-wide community.
