Spring security permitAll() does not work -


<dependency>   <groupid>org.springframework.security.oauth</groupid>   <artifactid>spring-security-oauth2</artifactid>   <version>2.0.5.release</version> </dependency> 

i have created spring-boot application purely severed resource server.

@configuration @enableresourceserver public class resourceserverconfiguration extends resourceserverconfigureradapter {      @override     public void configure(httpsecurity http) throws exception {         http.authorizerequests().anyrequest().permitall();     }  } 

in configuration class, did above (allow everything, experiment purpose). however, still seems requests come server got 401 unauthorised error. permitall() not seem work.

am missing here?

thanks.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -