Why does filter chain continue if no token is passed in header with OAuth2 spring security?
问题 I am trying to use OAuth2 with spring security, with the following config xml: <http pattern="/oauth/token" create-session="stateless" authentication-manager-ref="oauthUserAuthenticationManager" xmlns="http://www.springframework.org/schema/security"> <intercept-url pattern="/oauth/token" access="IS_AUTHENTICATED_FULLY"/> <anonymous enabled="false"/> <http-basic entry-point-ref="clientAuthenticationEntryPoint"/> <custom-filter ref="clientCredentialsTokenEndpointFilter" before="BASIC_AUTH