Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. compile('org.springframework.boot:spring-boot-starter-web')
  2. compile("org.springframework.boot:spring-boot-starter-thymeleaf")
  3. compile("org.springframework.boot:spring-boot-starter-jetty")
  4. compile("org.springframework.boot:spring-boot-starter-actuator")
  5.  
  6. compile group: 'org.springframework', name: "spring-webmvc", version: springVersion
  7. compile(group: 'org.springframework.security', name: "spring-security-web", version: springSecurityVersion) { exclude(module: 'spring-jdbc') }
  8.  
  9. @SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
  10. public class WebAdminApplication {
  11.  
  12. public static void main(String[] args) {
  13. SpringApplication.run(WebAdminApplication.class, args);
  14. }
  15. }
  16.  
  17. auth.getPrincipal() -> user
  18. auth.getCredentials() -> caeebd3a-307b-4edf-8f2f-833fad9ebc00
  19.  
  20. org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration,
  21. org.springframework.boot.autoconfigure.security.SecurityFilterAutoConfiguration,
  22. org.springframework.boot.autoconfigure.security.FallbackWebSecurityAutoConfiguration,
  23. org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement