Skip to content

Instantly share code, notes, and snippets.

View mrbusche's full-sized avatar

Matt Busche mrbusche

View GitHub Profile
mrbusche / ApiSecurityConfig.groovy
Created September 18, 2017 02:32 — forked from jeffsheets/ApiSecurityConfig.groovy
Spock Test for Spring Boot Security configuration - showing basic simple examples for unauthenticated users, role based access, and httpBasic logins
View ApiSecurityConfig.groovy
class ApiSecurityConfig extends WebSecurityConfigurerAdapter {
void configureGlobal(AuthenticationManagerBuilder auth) {
protected void configure(HttpSecurity http) {