Closed RavenCM closed 5 years ago
在不需要授权的接口中使用Feign调用时,io.choerodon.feign.FeignRequestInterceptor拦截器获取到的details为org.springframework.security.web.authentication.WebAuthenticationDetails,强转org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationDetails会抛出异常
io.choerodon.feign.FeignRequestInterceptor
details
org.springframework.security.web.authentication.WebAuthenticationDetails
org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationDetails
在不需要授权的接口中使用Feign调用时,
io.choerodon.feign.FeignRequestInterceptor
拦截器获取到的details
为org.springframework.security.web.authentication.WebAuthenticationDetails
,强转org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationDetails
会抛出异常