public class AADHandleConditionalAccessFilter
extends org.springframework.web.filter.OncePerRequestFilter
WebClientResponseException in On-Behalf-Of flow.
When the resource-server needs re-acquire token(The request requires higher privileges than provided by the access
token in On-Behalf-Of flow.), it can sent a 403 with information in the WWW-Authenticate header to web client ,web
client will throw WebClientResponseException, web-application can handle this exception to challenge the
user.
| Constructor and Description |
|---|
AADHandleConditionalAccessFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchprotected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterIOExceptionjavax.servlet.ServletExceptionVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.