Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- compile('org.springframework.boot:spring-boot-starter-web')
- compile("org.springframework.boot:spring-boot-starter-thymeleaf")
- compile("org.springframework.boot:spring-boot-starter-jetty")
- compile("org.springframework.boot:spring-boot-starter-actuator")
- compile group: 'org.springframework', name: "spring-webmvc", version: springVersion
- compile(group: 'org.springframework.security', name: "spring-security-web", version: springSecurityVersion) { exclude(module: 'spring-jdbc') }
- @SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
- public class WebAdminApplication {
- public static void main(String[] args) {
- SpringApplication.run(WebAdminApplication.class, args);
- }
- }
- auth.getPrincipal() -> user
- auth.getCredentials() -> caeebd3a-307b-4edf-8f2f-833fad9ebc00
- org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration,
- org.springframework.boot.autoconfigure.security.SecurityFilterAutoConfiguration,
- org.springframework.boot.autoconfigure.security.FallbackWebSecurityAutoConfiguration,
- org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement