Class WebAuthenticationManagerImpl
- java.lang.Object
-
- io.vertigo.vega.impl.authentication.WebAuthenticationManagerImpl
-
- All Implemented Interfaces:
io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent,WebAuthenticationManager
public final class WebAuthenticationManagerImpl extends Object implements WebAuthenticationManager
Standard pattern for SSO authentication handlers.- Author:
- skerdudou
-
-
Constructor Summary
Constructors Constructor Description WebAuthenticationManagerImpl(String appLoginHandler, VSecurityManager securityManager, Optional<AuthenticationManager> authenticationManagerOpt, List<WebAuthenticationPlugin> webAuthenticationPlugins)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
WebAuthenticationManagerImpl
@Inject public WebAuthenticationManagerImpl(String appLoginHandler, VSecurityManager securityManager, Optional<AuthenticationManager> authenticationManagerOpt, List<WebAuthenticationPlugin> webAuthenticationPlugins)
-
-
Method Detail
-
doBeforeChain
public 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.- Specified by:
doBeforeChainin interfaceWebAuthenticationManager- 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 )
-
-