• Greg Turnquist's avatar
    Auto-configure Spring Security OAuth2 when detected on the classpath · 53f67a44
    Greg Turnquist authored
    * Automatically spin up Authorization Server and Resource Server
    * Automatically configures method level security included OAuth2Expression handler
    * Wrote extensive unit tests verifying default behavior as well as the auto-configuration backing off when custom Authorization/Resource servers are included
    * Created org.springframework.boot.security.oauth2 subpackage to contain it
    * Can also disable either resource of authorization server completely with a single property for each
    * Print out the auto-generated secrets and other settings
    * Added spring-boot-sample-secure-oauth2 to provide a sample that can be run and poked with curl as well as some automated tests.
    * Make users ask for which servers to install by adding @Enable*
    * User has to @EnableGlobalMethodSecurity instead of using properties files
    
    Add Spring Security OAuth2 support to Spring Boot CLI
    
    * Triggered from either @EnableAuthorizationServer or @EnableResourceServer
    * Needs to have @EnableGlobalMethodSecurity to allow picking the annotation model.
    * By default, comes with import support for @PreAuthorize, @PreFilter, @PostAuthorize, and @PostFilter via a single start import
    * Also need import support for the enable annotations mentioned above.
    * Added extra test case and sample (oauth2.groovy)
    53f67a44
Name
Last commit
Last update
..
spring-boot-sample-activemq Loading commit data...
spring-boot-sample-actuator Loading commit data...
spring-boot-sample-actuator-log4j Loading commit data...
spring-boot-sample-actuator-log4j2 Loading commit data...
spring-boot-sample-actuator-noweb Loading commit data...
spring-boot-sample-actuator-ui Loading commit data...
spring-boot-sample-amqp Loading commit data...
spring-boot-sample-aop Loading commit data...
spring-boot-sample-atmosphere Loading commit data...
spring-boot-sample-batch Loading commit data...
spring-boot-sample-data-elasticsearch Loading commit data...
spring-boot-sample-data-gemfire Loading commit data...
spring-boot-sample-data-jpa Loading commit data...
spring-boot-sample-data-mongodb Loading commit data...
spring-boot-sample-data-redis Loading commit data...
spring-boot-sample-data-rest Loading commit data...
spring-boot-sample-data-solr Loading commit data...
spring-boot-sample-flyway Loading commit data...
spring-boot-sample-hateoas Loading commit data...
spring-boot-sample-hornetq Loading commit data...
spring-boot-sample-integration Loading commit data...
spring-boot-sample-jersey Loading commit data...
spring-boot-sample-jersey1 Loading commit data...
spring-boot-sample-jetty Loading commit data...
spring-boot-sample-jetty-ssl Loading commit data...
spring-boot-sample-jetty8 Loading commit data...
spring-boot-sample-jetty8-ssl Loading commit data...
spring-boot-sample-jpa Loading commit data...
spring-boot-sample-jta-atomikos Loading commit data...
spring-boot-sample-jta-bitronix Loading commit data...
spring-boot-sample-jta-jndi Loading commit data...
spring-boot-sample-liquibase Loading commit data...
spring-boot-sample-metrics-dropwizard Loading commit data...
spring-boot-sample-metrics-opentsdb Loading commit data...
spring-boot-sample-metrics-redis Loading commit data...
spring-boot-sample-parent-context Loading commit data...
spring-boot-sample-profile Loading commit data...
spring-boot-sample-secure Loading commit data...
spring-boot-sample-secure-oauth2 Loading commit data...
spring-boot-sample-servlet Loading commit data...
spring-boot-sample-simple Loading commit data...
spring-boot-sample-testng Loading commit data...
spring-boot-sample-tomcat Loading commit data...
spring-boot-sample-tomcat-jsp Loading commit data...
spring-boot-sample-tomcat-multi-connectors Loading commit data...
spring-boot-sample-tomcat-ssl Loading commit data...
spring-boot-sample-tomcat7-jsp Loading commit data...
spring-boot-sample-traditional Loading commit data...
spring-boot-sample-undertow Loading commit data...
spring-boot-sample-undertow-ssl Loading commit data...
spring-boot-sample-velocity Loading commit data...
spring-boot-sample-web-freemarker Loading commit data...
spring-boot-sample-web-groovy-templates Loading commit data...
spring-boot-sample-web-jsp Loading commit data...
spring-boot-sample-web-method-security Loading commit data...
spring-boot-sample-web-mustache Loading commit data...
spring-boot-sample-web-secure Loading commit data...
spring-boot-sample-web-secure-custom Loading commit data...
spring-boot-sample-web-secure-jdbc Loading commit data...
spring-boot-sample-web-static Loading commit data...
spring-boot-sample-web-ui Loading commit data...
spring-boot-sample-web-velocity Loading commit data...
spring-boot-sample-websocket-jetty Loading commit data...
spring-boot-sample-websocket-tomcat Loading commit data...
spring-boot-sample-websocket-undertow Loading commit data...
spring-boot-sample-ws Loading commit data...
spring-boot-sample-xml Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...