I look spring web site and want to prevent my website form xss and xframe attack
But My english is not well enough to figure out what to set
Please guide
Please use following code for example
@Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests().antMatchers("/api/**").hasAnyRole("ADMIN","USER").and().httpBasic().and().headers().disable(); //.and().formLogin(); }