Package io.jmix.securityflowui
Class FlowuiSecurityConfiguration
java.lang.Object
io.jmix.securityflowui.FlowuiSecurityConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classDeprecated, for removal: This API element is subject to removal in a future version.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextDeprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.spring.VaadinConfigurationPropertiesDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected PrevVaadinRequestUtilDeprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.spring.security.RequestUtilDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected org.springframework.boot.autoconfigure.web.ServerPropertiesDeprecated, for removal: This API element is subject to removal in a future version.protected UiPropertiesDeprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.spring.security.VaadinDefaultRequestCacheDeprecated, for removal: This API element is subject to removal in a future version.protected UiViewAccessCheckerDeprecated, for removal: This API element is subject to removal in a future version.protected ViewRegistryDeprecated, for removal: This API element is subject to removal in a future version.
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionapplyUrlMapping(String path) Deprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpathwith the configured url mapping.static StringapplyUrlMapping(String urlMapping, String path) Deprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpathwith the servlet path prefix from input url mapping.protected voidconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Deprecated, for removal: This API element is subject to removal in a future version.protected org.springframework.security.web.access.AccessDeniedHandlerDeprecated, for removal: This API element is subject to removal in a future version.protected org.springframework.security.web.util.matcher.RequestMatchercreateLogoutRequestMatcher(String logoutUrl) Deprecated, for removal: This API element is subject to removal in a future version.protected org.springframework.security.web.util.matcher.RequestMatchercreateLogoutRequestMatcher(String logoutUrl, String httpMethod) Deprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.spring.security.VaadinSavedRequestAwareAuthenticationSuccessHandlercreateSuccessHandler(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Deprecated, for removal: This API element is subject to removal in a future version.static org.springframework.security.web.util.matcher.RequestMatchergetDefaultHttpSecurityPermitMatcher(String urlMapping) Deprecated, for removal: This API element is subject to removal in a future version.Matcher for framework internal requests, with Vaadin servlet mapped on the given path.static org.springframework.security.web.util.matcher.RequestMatchergetDefaultWebSecurityIgnoreMatcher(String urlMapping) Deprecated, for removal: This API element is subject to removal in a future version.Matcher for Vaadin static (public) resources, with Vaadin servlet mapped on the given path.protected StringDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.protected voidinitLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.security.web.SecurityFilterChainsecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Deprecated, for removal: This API element is subject to removal in a future version.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Deprecated, for removal: This API element is subject to removal in a future version.voidsetConfigurationProperties(com.vaadin.flow.spring.VaadinConfigurationProperties configurationProperties) Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, Class<? extends com.vaadin.flow.component.Component> viewClass) Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, Class<? extends com.vaadin.flow.component.Component> loginViewClass, String logoutUrl) Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String viewId) Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String viewId, String logoutUrl) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPrevVaadinRequestUtil(PrevVaadinRequestUtil prevVaadinRequestUtil) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRequestUtil(com.vaadin.flow.spring.security.RequestUtil requestUtil) Deprecated, for removal: This API element is subject to removal in a future version.voidsetServerProperties(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) Deprecated, for removal: This API element is subject to removal in a future version.voidsetUiProperties(UiProperties uiProperties) Deprecated, for removal: This API element is subject to removal in a future version.voidsetVaadinDefaultRequestCache(com.vaadin.flow.spring.security.VaadinDefaultRequestCache vaadinDefaultRequestCache) Deprecated, for removal: This API element is subject to removal in a future version.voidsetViewAccessChecker(UiViewAccessChecker viewAccessChecker) Deprecated, for removal: This API element is subject to removal in a future version.voidsetViewRegistry(ViewRegistry viewRegistry) Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizerDeprecated, for removal: This API element is subject to removal in a future version.The paths listed as "ignoring" in this method are handled without any Spring Security involvement.
- 
Field Details- 
LOGOUT_URLDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
 
- 
LOGOUT_SUCCESS_URLDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
 
- 
SECURITY_CONFIGURER_QUALIFIERDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
 
- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContextDeprecated, for removal: This API element is subject to removal in a future version.
- 
vaadinDefaultRequestCacheprotected com.vaadin.flow.spring.security.VaadinDefaultRequestCache vaadinDefaultRequestCacheDeprecated, for removal: This API element is subject to removal in a future version.
- 
configurationPropertiesprotected com.vaadin.flow.spring.VaadinConfigurationProperties configurationPropertiesDeprecated, for removal: This API element is subject to removal in a future version.
- 
requestUtilprotected com.vaadin.flow.spring.security.RequestUtil requestUtilDeprecated, for removal: This API element is subject to removal in a future version.
- 
viewAccessCheckerDeprecated, for removal: This API element is subject to removal in a future version.
- 
uiPropertiesDeprecated, for removal: This API element is subject to removal in a future version.
- 
viewRegistryDeprecated, for removal: This API element is subject to removal in a future version.
- 
serverPropertiesprotected org.springframework.boot.autoconfigure.web.ServerProperties serverPropertiesDeprecated, for removal: This API element is subject to removal in a future version.
- 
prevVaadinRequestUtilDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Constructor Details- 
FlowuiSecurityConfigurationpublic FlowuiSecurityConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
setPrevVaadinRequestUtilDeprecated, for removal: This API element is subject to removal in a future version.
- 
setApplicationContext@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) Deprecated, for removal: This API element is subject to removal in a future version.
- 
setVaadinDefaultRequestCache@Autowired public void setVaadinDefaultRequestCache(com.vaadin.flow.spring.security.VaadinDefaultRequestCache vaadinDefaultRequestCache) Deprecated, for removal: This API element is subject to removal in a future version.
- 
setConfigurationProperties@Autowired public void setConfigurationProperties(com.vaadin.flow.spring.VaadinConfigurationProperties configurationProperties) Deprecated, for removal: This API element is subject to removal in a future version.
- 
setRequestUtil@Autowired public void setRequestUtil(com.vaadin.flow.spring.security.RequestUtil requestUtil) Deprecated, for removal: This API element is subject to removal in a future version.
- 
setViewAccessCheckerDeprecated, for removal: This API element is subject to removal in a future version.
- 
setUiPropertiesDeprecated, for removal: This API element is subject to removal in a future version.
- 
setViewRegistryDeprecated, for removal: This API element is subject to removal in a future version.
- 
setServerProperties@Autowired public void setServerProperties(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) Deprecated, for removal: This API element is subject to removal in a future version.
- 
webSecurityCustomizer@Bean public org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer webSecurityCustomizer()Deprecated, for removal: This API element is subject to removal in a future version.The paths listed as "ignoring" in this method are handled without any Spring Security involvement. They have no access to any security context etc.
- 
securityFilterChain@Bean("sec_UiSecurityFilterChain") @Order(400) public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- Exception
 
- 
configureprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- Exception
 
- 
initLoginViewprotected void initLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- Exception
 
- 
getDefaultHttpSecurityPermitMatcherpublic static org.springframework.security.web.util.matcher.RequestMatcher getDefaultHttpSecurityPermitMatcher(String urlMapping) Deprecated, for removal: This API element is subject to removal in a future version.Matcher for framework internal requests, with Vaadin servlet mapped on the given path.- Parameters:
- urlMapping- url mapping for the Vaadin servlet.
- Returns:
- default HttpSecuritybypass matcher
 
- 
getDefaultWebSecurityIgnoreMatcherpublic static org.springframework.security.web.util.matcher.RequestMatcher getDefaultWebSecurityIgnoreMatcher(String urlMapping) Deprecated, for removal: This API element is subject to removal in a future version.Matcher for Vaadin static (public) resources, with Vaadin servlet mapped on the given path.Assumes Vaadin servlet to be mapped on root path (/*). - Parameters:
- urlMapping- the url mapping for the Vaadin servlet
- Returns:
- default WebSecurityignore matcher
 
- 
setLoginViewprotected void setLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String viewId) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- Exception
 
- 
setLoginViewprotected void setLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String viewId, String logoutUrl) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- Exception
 
- 
setLoginViewprotected void setLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, Class<? extends com.vaadin.flow.component.Component> viewClass) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- Exception
 
- 
setLoginViewprotected void setLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity http, Class<? extends com.vaadin.flow.component.Component> loginViewClass, String logoutUrl) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- Exception
 
- 
createLogoutRequestMatcherprotected org.springframework.security.web.util.matcher.RequestMatcher createLogoutRequestMatcher(String logoutUrl) Deprecated, for removal: This API element is subject to removal in a future version.
- 
createLogoutRequestMatcherprotected org.springframework.security.web.util.matcher.RequestMatcher createLogoutRequestMatcher(String logoutUrl, String httpMethod) Deprecated, for removal: This API element is subject to removal in a future version.
- 
createSuccessHandlerprotected com.vaadin.flow.spring.security.VaadinSavedRequestAwareAuthenticationSuccessHandler createSuccessHandler(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Deprecated, for removal: This API element is subject to removal in a future version.
- 
createAccessDeniedHandlerprotected org.springframework.security.web.access.AccessDeniedHandler createAccessDeniedHandler()Deprecated, for removal: This API element is subject to removal in a future version.
- 
getUrlMappingDeprecated, for removal: This API element is subject to removal in a future version.
- 
applyUrlMappingDeprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpathwith the configured url mapping.A nullpath is treated as empty string; the same applies for url mapping.- Parameters:
- path- a path
- Returns:
- the path with prepended url mapping.
- See Also:
- 
- VaadinConfigurationProperties.getUrlMapping()
 
 
- 
applyUrlMappingDeprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpathwith the servlet path prefix from input url mapping.A nullpath is treated as empty string; the same applies for url mapping.- Parameters:
- path- a path
- urlMapping- url mapping
- Returns:
- the path with prepended url mapping.
- See Also:
- 
- VaadinConfigurationProperties.getUrlMapping()
 
 
- 
getLoginPathDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
FlowuiVaadinWebSecurityis used instead.