https://github.com/membrane/spring-boot-security-jwt-sample
https://github.com/membrane/spring-boot-security-jwt-sample
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/membrane/spring-boot-security-jwt-sample
- Owner: membrane
- Created: 2018-11-08T13:33:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T14:58:25.000Z (over 7 years ago)
- Last Synced: 2025-02-06T10:29:54.060Z (over 1 year ago)
- Language: Java
- Size: 25 MB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
Voraussetzungen: Java 8, Maven
1. Konsole öffnen
> cd spring-boot-security-jwt-sample
> cd authorization_server
> mvnw spring-boot:run
(laufen lassen, währenddessen weitermachen)
2. Konsole öffnen
> cd spring-boot-security-jwt-sample
> cd resource_server
> mvnw spring-boot:run
3. Membrane starten
membrane-service-proxy-4.6.3-SNAPSHOT.zip entpacken (liegt hier im Git, oder irgendein Release >4.6.2)
proxies.xml im membrane-service-proxy-4.6.3-SNAPSHOT/conf/ Verzeichnis durch die ./proxies.xml (Hauptverzeichnis) ersetzen
> cd membrane-service-proxy-4.6.3-SNAPSHOT
> service-proxy.bat
4. Demo
Im Browser öffnen:
http://localhost:2000/user
oder
http://localhost:2000/admin
Einloggen mit
tobias / 123 (=USER)
till / 123 (=ADMIN)