Classes number | +Lines number | +
---|---|
$CLASSES_NUMBER$ | +$LINES_NUMBER$ | +
Logged in: | Some Domain +
+Hello Spring Security
+This is an unsecured page, but you can access the secured pages after authenticating.
+-
+
- Go to the secured pages +
This is a secured page!
+ +Login
+ + + + + \ No newline at end of file diff --git a/spring-cloud/spring-cloud-security/mykeystore.jks b/spring-cloud/spring-cloud-security/mykeystore.jks new file mode 100644 index 0000000000..9cf25e3224 Binary files /dev/null and b/spring-cloud/spring-cloud-security/mykeystore.jks differ diff --git a/spring-cloud/spring-cloud-security/oauth2client/pom.xml b/spring-cloud/spring-cloud-security/oauth2client/pom.xml new file mode 100644 index 0000000000..fd1c6964e1 --- /dev/null +++ b/spring-cloud/spring-cloud-security/oauth2client/pom.xml @@ -0,0 +1,102 @@ + +Providing Person Information
++ Person's information: +
+ + \ No newline at end of file diff --git a/spring-cloud/spring-cloud-security/oauth2client/src/test/java/com/example/springoath2/Springoath2ApplicationTests.java b/spring-cloud/spring-cloud-security/oauth2client/src/test/java/com/example/springoath2/Springoath2ApplicationTests.java new file mode 100644 index 0000000000..5fa51a61c3 --- /dev/null +++ b/spring-cloud/spring-cloud-security/oauth2client/src/test/java/com/example/springoath2/Springoath2ApplicationTests.java @@ -0,0 +1,16 @@ +package com.example.springoath2; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class Springoath2ApplicationTests { + + @Test + public void contextLoads() { + } + +} diff --git a/spring-cloud/spring-cloud-security/personresource/pom.xml b/spring-cloud/spring-cloud-security/personresource/pom.xml new file mode 100644 index 0000000000..ca1ff82515 --- /dev/null +++ b/spring-cloud/spring-cloud-security/personresource/pom.xml @@ -0,0 +1,70 @@ + +
- Go to PushBuilder demo
Go to
- Simple demo
-
-
-
\ No newline at end of file
diff --git a/spring-mvc-push/src/main/webapp/resources/script.js b/spring-mvc-push/src/main/webapp/resources/script.js
deleted file mode 100644
index 9bc97c006a..0000000000
--- a/spring-mvc-push/src/main/webapp/resources/script.js
+++ /dev/null
@@ -1 +0,0 @@
-console.log('Script')
\ No newline at end of file
diff --git a/spring-mvc-push/src/main/webapp/resources/style.css b/spring-mvc-push/src/main/webapp/resources/style.css
deleted file mode 100644
index d5fc158135..0000000000
--- a/spring-mvc-push/src/main/webapp/resources/style.css
+++ /dev/null
@@ -1,9 +0,0 @@
-.single-title {
- font-size: 30px;
- color: #535353;
- font-weight: 200;
- letter-spacing: -1.5px;
- line-height: 64px;
- max-width: 750px;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
-}
\ No newline at end of file
diff --git a/spring-mvc-simple/README.md b/spring-mvc-simple/README.md
index 197a22cbac..69a9027280 100644
--- a/spring-mvc-simple/README.md
+++ b/spring-mvc-simple/README.md
@@ -2,3 +2,4 @@
- [HandlerAdapters in Spring MVC](http://www.baeldung.com/spring-mvc-handler-adapters)
- [Template Engines for Spring](http://www.baeldung.com/spring-template-engines)
+- [Spring 5 and Servlet 4 – The PushBuilder](http://www.baeldung.com/spring-5-push)
diff --git a/spring-mvc-simple/pom.xml b/spring-mvc-simple/pom.xml
index 2cc6aec906..05b2eb49b6 100644
--- a/spring-mvc-simple/pom.xml
+++ b/spring-mvc-simple/pom.xml
@@ -8,83 +8,62 @@
-
Go to - index +