-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
1,334 additions
and
297 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
72 changes: 0 additions & 72 deletions
72
09-ps-data-jpa/src/test/java/com/ps/config/db/TestDataConfig.java
This file was deleted.
Oops, something went wrong.
74 changes: 0 additions & 74 deletions
74
09-ps-data-jpa/src/test/java/com/ps/repo/TestUserRepo.java
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
09-ps-data-jpa/src/test/java/com/ps/services/UserServiceTest.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath boot.springBootPlugin | ||
} | ||
} | ||
|
||
apply plugin: 'spring-boot' | ||
|
||
jar { | ||
baseName = 'mvc-boot' | ||
version = '1.0-SNAPSHOT' | ||
} | ||
|
||
dependencies { | ||
|
||
compile(boot.starterWeb) { | ||
exclude module: "spring-boot-starter-tomcat" | ||
} | ||
//compile project(':09-ps-data-jpa') | ||
compile boot.starterJetty, boot.actuator, boot.yaml | ||
|
||
testCompile tests.junit | ||
} | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
package com.ps.init; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.boot.context.properties.EnableConfigurationProperties; | ||
import org.springframework.context.annotation.ComponentScan; | ||
|
||
/** | ||
* Created by iuliana.cosmina on 8/15/16. | ||
*/ | ||
@SpringBootApplication | ||
@ComponentScan(basePackages = {"com.ps.init", "com.ps.web"}) | ||
@EnableConfigurationProperties(AppSettings.class) | ||
public class Application { | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(Application.class, args); | ||
} | ||
|
||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ test { | |
|
||
gretty { | ||
port = 8080 | ||
contextPath = '/mvc-basic' | ||
contextPath = '/mvc-security' | ||
} | ||
|
||
war { | ||
|
This file contains 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
This file contains 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
5 changes: 2 additions & 3 deletions
5
11-ps-security-practice/src/main/java/com/ps/init/SecurityWebApplicationInitializer.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
package com.ps.init; | ||
|
||
import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; | ||
|
||
/** | ||
* Created by iuliana.cosmina on 9/14/15. | ||
*/ | ||
public class SecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitializer { | ||
//TODO 48. Modify this class to register the DelegatingFilterProxy bean | ||
public class SecurityWebApplicationInitializer { | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.