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

php - Admin SDK -- get information about the group -

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

Python Error - TypeError: input expected at most 1 arguments, got 3 -