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
FieldsModifier and TypeFieldDescriptionprotected List<SamlHttpSecurityConfigurer>protected org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepositoryprotected SamlPropertiesprotected SamlUserMapper<? extends JmixSamlUserDetails> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) protected org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvidercreateAuthenticationProvider(SamlUserMapper samlUserMapper) protected org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepositorycreateRelyingPartyRegistrationRepositoryWrapperWithRedirectBinding(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> createSamlAuthConverter(SamlUserMapper samlUserMapper) protected org.springframework.security.web.authentication.logout.LogoutSuccessHandlerprotected booleanMethods 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
-
Field Details
-
samlUserMapper
-
relyingPartyRegistrationRepository
@Autowired protected org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository relyingPartyRegistrationRepository -
samlProperties
-
additionalConfigurers
-
-
Constructor Details
-
SamlVaadinWebSecurity
public SamlVaadinWebSecurity()
-
-
Method Details
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Overrides:
configurein classcom.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)
-