thorntail

Securing thorntail service with KEYCLOAK

末鹿安然 提交于 2020-06-29 05:04:50
问题 I see a lot of topics about this but it seems that all of them access KEYCLOAK with the same URL. Explanation. I try to set up un frontend+microservice secured by KC achitecture. See the drawing : Everything work well if keycloak (kc) is seen by everybody with the same url, that is for JS : const keycloakURL = "http://test-kc-keycloak:8080/auth"; const keycloakParams = { url: keycloakURL, realm: "Test", clientId: "IHM" }; const keycloak = Keycloak(keycloakParams); ... For the service (project

Docker (Spring Boot or Thorntail) and Keycloak

无人久伴 提交于 2020-05-10 20:06:19
问题 i have a Problem Running Spring Boot and Keycloak both in docker containers. I started with Keycloak with mysql as db running in docker. services: mysql: image: mysql:5.7 container_name: mysql volumes: - mysql_data:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: keycloak MYSQL_USER: keycloak MYSQL_PASSWORD: password networks: - testNetwork keycloak: image: jboss/keycloak container_name: keycloak restart: on-failure volumes: - ./config:/config/ environment: DB_VENDOR:

Docker (Spring Boot or Thorntail) and Keycloak

倾然丶 夕夏残阳落幕 提交于 2020-05-10 20:05:33
问题 i have a Problem Running Spring Boot and Keycloak both in docker containers. I started with Keycloak with mysql as db running in docker. services: mysql: image: mysql:5.7 container_name: mysql volumes: - mysql_data:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: keycloak MYSQL_USER: keycloak MYSQL_PASSWORD: password networks: - testNetwork keycloak: image: jboss/keycloak container_name: keycloak restart: on-failure volumes: - ./config:/config/ environment: DB_VENDOR:

Thorntail not exiting gracefully

孤人 提交于 2019-12-11 03:22:23
问题 I'm running a Thorntail 2.2.1.Final microservice with Maven using either of these commands mvn thorntail:start mvn thorntail:run It runs fine, but when I hit Ctrl-C it doesn't exist the application i.e. the console returns, but the app runs in the background. I've tried to stop it mvn thorntail:stop But that doesn't work. I have to go and kill the process. I'm using Windows 10. 回答1: The thorntail:start and thorntail:stop goals are meant to be used together as part of a Maven lifecycle,

What is the simplest way to add application users in a Thorntail WildFly server?

余生颓废 提交于 2019-12-02 07:30:25
问题 As said in the title, is there a way to add application users in Thorntail WilFly server, much like you would do with "add-user.sh -a" script in the full server distribution? I understand you can provide an external configuration file to Thorntail but that seems a bit of overhead just for specifying where users are located. Thanks 回答1: The answer by Thomas Herzog is very good from a conceptual point of view -- I'd especially agree with securing the application using an external Keycloak,

What is the simplest way to add application users in a Thorntail WildFly server?

为君一笑 提交于 2019-12-02 06:01:44
As said in the title, is there a way to add application users in Thorntail WilFly server, much like you would do with "add-user.sh -a" script in the full server distribution? I understand you can provide an external configuration file to Thorntail but that seems a bit of overhead just for specifying where users are located. Thanks The answer by Thomas Herzog is very good from a conceptual point of view -- I'd especially agree with securing the application using an external Keycloak, potentially with the help of MicroProfile JWT. I'm just gonna provide a few points in case you decide not to.