Answers for "add classpathresource messages.properties spring security"

0

add classpathresource messages.properties spring security

for internationalization : 
add 
  @Override
    public void configure(WebSecurity web) throws Exception {
        web
                .ignoring()
                .antMatchers("/resources/**", "/static/**", "/css/**", "/js/**", "/images/**");
    }
    
    and also for the login page an antMatchers with permitAll() : 
      @Override
    protected void configure(HttpSecurity http) throws Exception {

        http
                .authorizeRequests()
                .antMatchers("/login*")
                .permitAll()
Posted by: Guest on February-22-2021

Code answers related to "add classpathresource messages.properties spring security"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language