Commit 5ff4e51e authored by ourfbht's avatar ourfbht
Browse files

removed all tabs

parent cc4427ec
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -15,12 +15,13 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
        http        
            .authorizeRequests()
                .antMatchers("/", "/home").permitAll()
                .antMatchers("/allMentor").permitAll()
                .antMatchers("/allMentor").hasAnyRole("MENTOR", "POULAIN")
                .antMatchers("/formMentor").permitAll()
                .antMatchers("/insertMentor").permitAll()
                .antMatchers("/allPoulain").permitAll()
                .antMatchers("/formPoulain").permitAll()
                .antMatchers("/insertPoulain").permitAll()
                
                .and()
            .formLogin()
                .loginPage("/login")
@@ -34,8 +35,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
    public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
        auth
                .inMemoryAuthentication()
                .withUser("admin").password("{noop}admin").roles("ADMIN")
                .and().withUser("user").password("{noop}user").roles("USER");
                .withUser("mentor").password("{noop}mentor").roles("MENTOR")
                .and().withUser("poulain").password("{noop}poulain").roles("POULAIN");
    }
    
}
 No newline at end of file
+28 −28

File changed.

Contains only whitespace changes.

+17 −17

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+28 −28

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+27 −27

File changed.

Contains only whitespace changes.

+28 −28

File changed.

Contains only whitespace changes.

Loading