Package io.vertigo.vega.authentication
Interface WebAuthenticationManager
-
- All Superinterfaces:
io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent
- All Known Implementing Classes:
WebAuthenticationManagerImpl
public interface WebAuthenticationManager extends io.vertigo.core.node.component.ComponentThis manager can intercept HttpRequests, to manage webbase authentication mecanisms (SAML2, OIDC, etc...) It has the hability to execute function before/after the filter chain and has a callback for a finally block.- Author:
- mlaroche
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.vertigo.core.lang.Tuple<Boolean,javax.servlet.http.HttpServletRequest>doBeforeChain(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Code to execute before the call to the filter chain.
-
-
-
Method Detail
-
doBeforeChain
io.vertigo.core.lang.Tuple<Boolean,javax.servlet.http.HttpServletRequest> doBeforeChain(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Code to execute before the call to the filter chain.- Parameters:
request- the httpRequestresponse- the httpResponse- Returns:
- a tuple composed of two values : - a boolean to indicate wether the request has been handled in the method and chain must be stopped - the HttpRequest that will be transfered in the filter chain. (for example if you need to wrap it for any reason )
-
-