Keytcloak est une solution de gestion d'identité Open Source qui a beaucoup gagné en popularité depuis quleques temps. Elle s'intègre avec de nombreuses technoloigies. Parmi celles-ci,l'intégration Spring Boot / Spring Security
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added 'admin' to '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json', restart server to load user | |
[KEYCLOAK DOCKER IMAGE] Using the embedded H2 database | |
========================================================================= | |
JBoss Bootstrap Environment | |
JBOSS_HOME: /opt/jboss/keycloak | |
JAVA: /usr/lib/jvm/java/bin/java |
Keycloak est une solution Open Source qui vous permet facilement d'externaliser votre gestion de l'identité. Ceci inclue la gestion de l'authentification,la mise en place de la couche d'autorisation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"listeners": [ | |
{ | |
"address": "tcp://0.0.0.0:9090", | |
"bind_to_port": true, | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.productrest | |
import org.springframework.boot.SpringApplication | |
import org.springframework.boot.autoconfigure.SpringBootApplication | |
import org.springframework.web.bind.annotation.GetMapping | |
import org.springframework.web.bind.annotation.RestController | |
@SpringBootApplication | |
open class ProductRestApplication |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="http://127.0.0.1:8180/auth/realms/master/protocol/openid-connect/login-status-iframe.html" style="display: none;"></iframe></body></html> | |
org.openqa.selenium.NoSuchElementException: {"errorMessage":"Unable to find element with xpath '//td[text()[contains(.,'Delete')]]'","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"62","Content-Type":"application/json; charset=utf-8","Host":"localhost:31635","User-Agent":"Apache-HttpClient/4.5 (Java/1.8.0_31)"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"xpath\",\"value\":\"//td[text()[contains(.,'Delete')]]\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/d1c667e0-678d-11e7-a6a3-c91e19415015/element"}} | |
Command duration or timeout: 447 milliseconds | |
For do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"realm": "che", | |
"auth-server-url": "http://localhost:8180/auth", | |
"ssl-required": "external", | |
"resource": "wsmaster", | |
"public-client": true, | |
"redirect-rewrite-rules" : { | |
"^/wsmaster/api/(.*)$" : "/api/$1" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using Forge at /home/sblanc/forge_dist/forge-distribution-3.7.0.Final | |
/home/sblanc/forge_dist/forge-distribution-3.7.0.Final/addons: | |
org.jboss.forge.furnace.container:simple,2.26.0.Final | |
org.jboss.forge.addon:environment,3.7.0.Final | |
org.jboss.forge.addon:facets,3.7.0.Final | |
org.jboss.forge.addon:ui-spi,3.7.0.Final | |
org.jboss.forge.furnace.container:cdi,2.26.0.Final | |
org.jboss.forge.addon:convert,3.7.0.Final | |
org.jboss.forge.addon:ui,3.7.0.Final | |
org.jboss.forge.addon:resources,3.7.0.Final |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project-new --named isfacedthere10 --type spring-boot --dependencies web keycloak | |
jpa-setup | |
jpa-new-entity --named Task | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sample; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Insets; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.Label; |