TheOpenCloudEngine / uEngine-iam-monolithic

One of member of OCE's microservices-architecture components. Identity & Access Management conforming to OAuth2 and JWT spec and provides Web GUI for managing organizations, users, and permission scopes. REST APIs allows your application easily converted to MSA-style services accessing underlying back-end services through token-based security.
1 stars 3 forks source link

Spring security support #14

Open jinyoung opened 7 years ago

jinyoung commented 7 years ago

ref to - https://github.com/szerhusenBC/jwt-spring-security-demo/blob/master/src/main/java/org/zerhusen/security/JwtAuthenticationTokenFilter.java

SecurityContextHolder.getContext().setAuthentication(authentication);
jinyoung commented 7 years ago

https://stackoverflow.com/questions/38279753/spring-security-oauth-full-authentication-is-required-to-access-this-resource