keycloak-aplcache
Changes
examples/demo-template/angular2-product-app/src/main/frontend/src/app/app.component.spec.ts 66(+0 -66)
examples/demo-template/angular2-product-app/src/main/frontend/src/app/keycloak/keycloak.http.spec.ts 47(+0 -47)
examples/demo-template/angular2-product-app/src/main/frontend/src/app/keycloak/keycloak.http.ts 42(+0 -42)
examples/demo-template/angular2-product-app/src/main/frontend/src/app/keycloak/keycloak.service.ts 60(+0 -60)
examples/demo-template/angular2-product-app/src/main/frontend/src/environments/environment.prod.ts 5(+0 -5)
examples/demo-template/angular2-product-app/src/main/frontend/src/environments/environment.ts 10(+0 -10)
examples/demo-template/angular2-product-app/src/main/frontend/src/environments/environment.war.ts 5(+0 -5)
examples/demo-template/pom.xml 1(+0 -1)
examples/demo-template/README.md 27(+3 -24)
Details
examples/demo-template/pom.xml 1(+0 -1)
diff --git a/examples/demo-template/pom.xml b/examples/demo-template/pom.xml
index a737bf8..bd239fb 100755
--- a/examples/demo-template/pom.xml
+++ b/examples/demo-template/pom.xml
@@ -51,7 +51,6 @@
<module>example-ear</module>
<module>admin-access-app</module>
<module>angular-product-app</module>
- <module>angular2-product-app</module>
<module>database-service</module>
<module>third-party</module>
<module>third-party-cdi</module>
examples/demo-template/README.md 27(+3 -24)
diff --git a/examples/demo-template/README.md b/examples/demo-template/README.md
index 52b3001..950b226 100755
--- a/examples/demo-template/README.md
+++ b/examples/demo-template/README.md
@@ -202,28 +202,7 @@ An Angular JS example using Keycloak to secure it.
If you are already logged in, you will not be asked for a username and password, but you will be redirected to
an oauth grant page. This page asks you if you want to grant certain permissions to the third-part app.
-Step 10: Angular2 JS Example
-----------------------------------
-An Angular2 JS example using Keycloak to secure it. Angular2 is in beta version yet.
-
-To install angular2
-```
-$ cd keycloak/examples/demo-template/angular2-product-app/src/main/webapp/
-$ npm install
-```
-
-Transpile TypeScript to JavaScript before running the application.
-```
-$ npm run tsc
-```
-
-[http://localhost:8080/angular2-product](http://localhost:8080/angular2-product)
-
-If you are already logged in, you will not be asked for a username and password, but you will be redirected to
-an oauth grant page. This page asks you if you want to grant certain permissions to the third-part app.
-
-
-Step 11: Pure HTML5/Javascript Example
+Step 10: Pure HTML5/Javascript Example
----------------------------------
An pure HTML5/Javascript example using Keycloak to secure it.
@@ -232,7 +211,7 @@ An pure HTML5/Javascript example using Keycloak to secure it.
If you are already logged in, you will not be asked for a username and password, but you will be redirected to
an oauth grant page. This page asks you if you want to grant certain permissions to the third-part app.
-Step 12: Service Account Example
+Step 11: Service Account Example
================================
An example for retrieve service account dedicated to the Client Application itself (not to any user).
@@ -240,7 +219,7 @@ An example for retrieve service account dedicated to the Client Application itse
Client authentication is done with OAuth2 Client Credentials Grant in out-of-bound request (Not Keycloak login screen displayed) .
-Step 13: Offline Access Example
+Step 12: Offline Access Example
===============================
An example for retrieve offline token, which is then saved to the database and can be used by application anytime later. Offline token
is valid even if user is already logged out from SSO. Server restart also won't invalidate offline token. Offline token can be revoked by the user in