public class AADAuthenticationFilter
extends org.springframework.web.filter.OncePerRequestFilter
| Modifier and Type | Field and Description |
|---|---|
private AADAuthenticationProperties |
aadAuthProps |
private static String |
CURRENT_USER_PRINCIPAL |
private static String |
CURRENT_USER_PRINCIPAL_GRAPHAPI_TOKEN |
private static org.slf4j.Logger |
log |
private UserPrincipalManager |
principalManager |
private ServiceEndpointsProperties |
serviceEndpointsProps |
private static String |
TOKEN_HEADER |
private static String |
TOKEN_TYPE |
| Constructor and Description |
|---|
AADAuthenticationFilter(AADAuthenticationProperties aadAuthProps,
ServiceEndpointsProperties serviceEndpointsProps,
com.nimbusds.jose.util.ResourceRetriever resourceRetriever) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchprivate static final org.slf4j.Logger log
private static final String CURRENT_USER_PRINCIPAL
private static final String CURRENT_USER_PRINCIPAL_GRAPHAPI_TOKEN
private static final String TOKEN_HEADER
private static final String TOKEN_TYPE
private AADAuthenticationProperties aadAuthProps
private ServiceEndpointsProperties serviceEndpointsProps
private UserPrincipalManager principalManager
public AADAuthenticationFilter(AADAuthenticationProperties aadAuthProps, ServiceEndpointsProperties serviceEndpointsProps, com.nimbusds.jose.util.ResourceRetriever resourceRetriever)
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.ServletExceptionIOExceptionCopyright © 2019 Microsoft. All rights reserved.