microsoft / azure-spring-boot

Spring Boot Starters for Azure services
MIT License
374 stars 460 forks source link

Port #872 to 2.1.x #884

Closed saragluna closed 4 years ago

saragluna commented 4 years ago

Summary

When AADAuthenticationFilter or AADAppRoleStatelessAuthenticationFilter is auto-configured it will take action on every bearer token. This PR will skip the processing when the current context is already authenticated or the token is not issued by Azure AD.

Issue Type

Starter Names

Additional Information