public class AADAppRoleStatelessAuthenticationFilter
extends org.springframework.web.filter.OncePerRequestFilter
| Modifier and Type | Field and Description |
|---|---|
private static net.minidev.json.JSONArray |
DEFAULT_ROLE_CLAIM |
private static org.slf4j.Logger |
log |
private UserPrincipalManager |
principalManager |
private static String |
ROLE_PREFIX |
private static String |
TOKEN_TYPE |
| Constructor and Description |
|---|
AADAppRoleStatelessAuthenticationFilter(UserPrincipalManager principalManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected Set<org.springframework.security.core.authority.SimpleGrantedAuthority> |
rolesToGrantedAuthorities(net.minidev.json.JSONArray roles) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchprivate static final org.slf4j.Logger log
private static final String TOKEN_TYPE
private static final net.minidev.json.JSONArray DEFAULT_ROLE_CLAIM
private static final String ROLE_PREFIX
private final UserPrincipalManager principalManager
public AADAppRoleStatelessAuthenticationFilter(UserPrincipalManager principalManager)
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
IOException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterjavax.servlet.ServletExceptionIOExceptionprotected Set<org.springframework.security.core.authority.SimpleGrantedAuthority> rolesToGrantedAuthorities(net.minidev.json.JSONArray roles)
Copyright © 2019 Microsoft. All rights reserved.