add classpathresource messages properties spring security

Solutions on MaxInterview for add classpathresource messages properties spring security by the best coders in the world

showing results for - "add classpathresource messages properties spring security"
Christian
16 Sep 2016
1for internationalization : 
2add 
3  @Override
4    public void configure(WebSecurity web) throws Exception {
5        web
6                .ignoring()
7                .antMatchers("/resources/**", "/static/**", "/css/**", "/js/**", "/images/**");
8    }
9    
10    and also for the login page an antMatchers with permitAll() : 
11      @Override
12    protected void configure(HttpSecurity http) throws Exception {
13
14        http
15                .authorizeRequests()
16                .antMatchers("/login*")
17                .permitAll()
similar questions