Skip to content

Commit

Permalink
dcoraboeuf#285 HTTP basic for the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Nov 29, 2013
1 parent d64fff2 commit adb7698
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ protected void configure(HttpSecurity http) throws Exception {
// See http://docs.spring.io/spring-security/site/docs/3.2.0.RC2/reference/htmlsingle/#csrf-using
.csrf().disable()
.formLogin().loginPage("/login").successHandler(authenticationSuccessHandler).and()
.httpBasic().realmName("ontrack").and()
.logout().logoutUrl("/logout").logoutSuccessUrl("/").and()
.authorizeRequests().anyRequest().permitAll();
}
Expand Down

0 comments on commit adb7698

Please sign in to comment.