Package io.jmix.saml

Class SamlVaadinWebSecurity

java.lang.Object
com.vaadin.flow.spring.security.VaadinWebSecurity
io.jmix.saml.SamlVaadinWebSecurity
Direct Known Subclasses:
SamlAutoConfiguration.DefaulSamlVaadinWebSecurity

public class SamlVaadinWebSecurity extends com.vaadin.flow.spring.security.VaadinWebSecurity
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository
     
    protected SamlProperties
     
    protected SamlUserMapper<? extends JmixSamlUserDetails>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
    protected org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
     
    protected org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository
    createRelyingPartyRegistrationRepositoryWrapperWithRedirectBinding(org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository originalRepository)
     
    protected org.springframework.core.convert.converter.Converter<org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider.ResponseToken,? extends org.springframework.security.authentication.AbstractAuthenticationToken>
     
    protected org.springframework.security.web.authentication.logout.LogoutSuccessHandler
     
    protected boolean
     

    Methods inherited from class com.vaadin.flow.spring.security.VaadinWebSecurity

    addLogoutHandlers, antMatchers, applyUrlMapping, configure, enableNavigationAccessControl, filterChain, getAuthenticationContext, getDefaultHttpSecurityPermitMatcher, getDefaultHttpSecurityPermitMatcher, getDefaultWebSecurityIgnoreMatcher, getDefaultWebSecurityIgnoreMatcher, getNavigationAccessControl, getViewAccessChecker, oidcLogoutSuccessHandler, pathMatchers, routeMatchers, routePathMatchers, setLoginView, setLoginView, setLoginView, setLoginView, setOAuth2LoginPage, setOAuth2LoginPage, setStatelessAuthentication, setStatelessAuthentication, webSecurityCustomizer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • samlUserMapper

      @Autowired protected SamlUserMapper<? extends JmixSamlUserDetails> samlUserMapper
    • relyingPartyRegistrationRepository

      @Autowired protected org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository relyingPartyRegistrationRepository
    • samlProperties

      @Autowired protected SamlProperties samlProperties
    • additionalConfigurers

      @Autowired(required=false) protected List<SamlHttpSecurityConfigurer> additionalConfigurers
  • Constructor Details

    • SamlVaadinWebSecurity

      public SamlVaadinWebSecurity()
  • Method Details

    • configure

      protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Overrides:
      configure in class com.vaadin.flow.spring.security.VaadinWebSecurity
      Throws:
      Exception
    • createAuthenticationProvider

      protected org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider createAuthenticationProvider(SamlUserMapper samlUserMapper)
    • createSamlLogoutSuccessHandler

      protected org.springframework.security.web.authentication.logout.LogoutSuccessHandler createSamlLogoutSuccessHandler()
    • createRelyingPartyRegistrationRepositoryWrapperWithRedirectBinding

      protected org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository createRelyingPartyRegistrationRepositoryWrapperWithRedirectBinding(org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository originalRepository)
    • isForceRedirectBindingLogout

      protected boolean isForceRedirectBindingLogout()
    • createSamlAuthConverter

      protected org.springframework.core.convert.converter.Converter<org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider.ResponseToken,? extends org.springframework.security.authentication.AbstractAuthenticationToken> createSamlAuthConverter(SamlUserMapper samlUserMapper)