Class MetamaskSignInFilter
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.WebRequestHandler
org.exoplatform.web.application.JspBasedWebHandler
io.meeds.tenant.metamask.web.filter.MetamaskSignInFilter
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.web.filter.Filter
public class MetamaskSignInFilter
extends org.exoplatform.web.application.JspBasedWebHandler
implements org.exoplatform.web.filter.Filter
A Login extension to submit Login parameters to UI for used network, contract
adresses ...
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final org.exoplatform.services.log.Logstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.exoplatform.web.application.JspBasedWebHandler
brandingService, javascriptConfigService, JS_PATHS_PARAM, localeConfigService, skinService, TEXT_HTML_CONTENT_TYPEFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionMetamaskSignInFilter(org.exoplatform.container.PortalContainer container, org.exoplatform.web.security.security.RemindPasswordTokenService remindPasswordTokenService, org.exoplatform.web.WebAppController webAppController, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.portal.branding.BrandingService brandingService, org.exoplatform.web.application.javascript.JavascriptConfigService javascriptConfigService, org.exoplatform.portal.resource.SkinService skinService, MetamaskLoginService metamaskLoginService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFilter(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, jakarta.servlet.FilterChain chain) protected voidforwardDeedTenantSetupForm(org.exoplatform.web.ControllerContext controllerContext) protected StringgetCompoundPassword(jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.exoplatform.web.application.JspBasedWebHandler
execute, getHandlerName, getRequiresLifeCycle, prepareDispatchMethods inherited from class org.exoplatform.web.WebRequestHandler
onDestroy, onInitMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
LOG
public static final org.exoplatform.services.log.Log LOG -
METAMASK_TENANT_SETUP_FORM
- See Also:
-
METAMASK_AUTHENTICATED
- See Also:
-
SEPARATOR
- See Also:
-
USERNAME_REQUEST_PARAM
- See Also:
-
PASSWORD_REQUEST_PARAM
- See Also:
-
INITIAL_URI_REQUEST_PARAM
- See Also:
-
METAMASK_SIGNED_MESSAGE_PREFIX
- See Also:
-
-
Constructor Details
-
MetamaskSignInFilter
public MetamaskSignInFilter(org.exoplatform.container.PortalContainer container, org.exoplatform.web.security.security.RemindPasswordTokenService remindPasswordTokenService, org.exoplatform.web.WebAppController webAppController, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.portal.branding.BrandingService brandingService, org.exoplatform.web.application.javascript.JavascriptConfigService javascriptConfigService, org.exoplatform.portal.resource.SkinService skinService, MetamaskLoginService metamaskLoginService)
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doFilterin interfaceorg.exoplatform.web.filter.Filter- Throws:
IOExceptionjakarta.servlet.ServletException
-
forwardDeedTenantSetupForm
protected void forwardDeedTenantSetupForm(org.exoplatform.web.ControllerContext controllerContext) throws Exception - Throws:
Exception
-
getCompoundPassword
-