Skip to content

Instantly share code, notes, and snippets.

View stewsters's full-sized avatar

Adrian Moore stewsters

View GitHub Profile
@mashurex
mashurex / WebSecurityConfig.java
Created June 11, 2017 02:24
Spring Boot LDAP Authentication and Groups with JumpCloud
@Configuration
public class WebSecurityConfig extends WebSecurityConfigurerAdapter
{
@Override
protected void configure(HttpSecurity http) throws Exception {
// Put whatever your HTTP security requirements are here.
http
.authorizeRequests()
.anyRequest().fullyAuthenticated()
.and()