Class FlowuiVaadinWebSecurity

java.lang.Object
io.jmix.securityflowui.security.AbstractFlowuiWebSecurity
io.jmix.securityflowui.security.FlowuiVaadinWebSecurity
Direct Known Subclasses:
SecurityFlowuiAutoConfiguration.DefaultFlowuiVaadinWebSecurity

public class FlowuiVaadinWebSecurity extends AbstractFlowuiWebSecurity
Provides default Vaadin and Jmix FlowUI security to the project.
  • Field Details

  • Constructor Details

    • FlowuiVaadinWebSecurity

      public FlowuiVaadinWebSecurity()
  • Method Details

    • setVaadinDefaultRequestCache

      @Autowired public void setVaadinDefaultRequestCache(com.vaadin.flow.spring.security.VaadinDefaultRequestCache vaadinDefaultRequestCache, org.springframework.beans.factory.ObjectProvider<List<JmixRequestCacheRequestMatcher>> requestCacheRequestMatchersProvider)
    • configureVaadinSpecifics

      protected void configureVaadinSpecifics(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
      Specified by:
      configureVaadinSpecifics in class AbstractFlowuiWebSecurity
    • configureJmixSpecifics

      protected void configureJmixSpecifics(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Configures the HttpSecurity by adding Jmix-specific settings.
      Overrides:
      configureJmixSpecifics in class AbstractFlowuiWebSecurity
      Throws:
      Exception
    • initLoginView

      protected void initLoginView(com.vaadin.flow.spring.security.VaadinSecurityConfigurer configurer)
      Configures a login view by finding login view id in application properties.
    • getLogoutSuccessUrl

      protected String getLogoutSuccessUrl()
    • getDelegateRequestCache

      protected org.springframework.security.web.savedrequest.RequestCache getDelegateRequestCache()
    • createViewPathRequestMatcher

      protected org.springframework.security.web.util.matcher.RequestMatcher createViewPathRequestMatcher(ViewRegistry viewRegistry)