@@ -31,25 +31,25 @@ public SecSecurityConfig() {
3131 }
3232
3333 @ Override
34- protected void configure (AuthenticationManagerBuilder auth ) throws Exception {
34+ protected void configure (final AuthenticationManagerBuilder auth ) throws Exception {
3535 auth .authenticationProvider (authProvider ());
3636 }
3737
3838 @ Override
39- public void configure (WebSecurity web ) throws Exception {
39+ public void configure (final WebSecurity web ) throws Exception {
4040 web .ignoring ().antMatchers ("/resources/**" );
4141 }
4242
4343 @ Override
44- protected void configure (HttpSecurity http ) throws Exception {
44+ protected void configure (final HttpSecurity http ) throws Exception {
4545 // @formatter:off
4646 http
4747 .csrf ().disable ()
4848 .authorizeRequests ()
4949 .antMatchers ("/j_spring_security_check*" ,"/login*" , "/logout*" , "/signin/**" , "/signup/**" ,
5050 "/user/registration*" , "/regitrationConfirm*" , "/expiredAccount*" , "/registration*" ,
5151 "/badUser*" , "/user/resendRegistrationToken*" ,"/forgetPassword*" , "/user/resetPassword*" ,
52- "/user/changePassword*" , "/emailError*" , "/resources/**" ,"/old/user/registration*" ).permitAll ()
52+ "/user/changePassword*" , "/emailError*" , "/resources/**" ,"/old/user/registration*" , "/successRegister*" ).permitAll ()
5353 .antMatchers ("/invalidSession*" ).anonymous ()
5454 .anyRequest ().authenticated ()
5555 .and ()
@@ -80,7 +80,7 @@ protected void configure(HttpSecurity http) throws Exception {
8080
8181 @ Bean
8282 public DaoAuthenticationProvider authProvider () {
83- DaoAuthenticationProvider authProvider = new DaoAuthenticationProvider ();
83+ final DaoAuthenticationProvider authProvider = new DaoAuthenticationProvider ();
8484 authProvider .setUserDetailsService (userDetailsService );
8585 authProvider .setPasswordEncoder (encoder ());
8686 return authProvider ;
0 commit comments