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 Summary
Modifier and TypeClassDescriptionprotected static class
Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Deprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.spring.VaadinConfigurationProperties
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.protected PrevVaadinRequestUtil
Deprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.spring.security.RequestUtil
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.protected org.springframework.boot.autoconfigure.web.ServerProperties
Deprecated, for removal: This API element is subject to removal in a future version.protected UiProperties
Deprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.spring.security.VaadinDefaultRequestCache
Deprecated, for removal: This API element is subject to removal in a future version.protected UiViewAccessChecker
Deprecated, for removal: This API element is subject to removal in a future version.protected ViewRegistry
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionapplyUrlMapping
(String path) Deprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpath
with the configured url mapping.static String
applyUrlMapping
(String urlMapping, String path) Deprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpath
with the servlet path prefix from input url mapping.protected void
configure
(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.AccessDeniedHandler
Deprecated, for removal: This API element is subject to removal in a future version.protected org.springframework.security.web.util.matcher.RequestMatcher
createLogoutRequestMatcher
(String logoutUrl) Deprecated, for removal: This API element is subject to removal in a future version.protected 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.protected 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.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.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.protected String
Deprecated, 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 void
initLoginView
(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.SecurityFilterChain
securityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Deprecated, for removal: This API element is subject to removal in a future version.void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) Deprecated, for removal: This API element is subject to removal in a future version.void
setConfigurationProperties
(com.vaadin.flow.spring.VaadinConfigurationProperties configurationProperties) Deprecated, for removal: This API element is subject to removal in a future version.protected void
setLoginView
(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 void
setLoginView
(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 void
setLoginView
(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 void
setLoginView
(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.void
setPrevVaadinRequestUtil
(PrevVaadinRequestUtil prevVaadinRequestUtil) Deprecated, for removal: This API element is subject to removal in a future version.void
setRequestUtil
(com.vaadin.flow.spring.security.RequestUtil requestUtil) Deprecated, for removal: This API element is subject to removal in a future version.void
setServerProperties
(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) Deprecated, for removal: This API element is subject to removal in a future version.void
setUiProperties
(UiProperties uiProperties) Deprecated, for removal: This API element is subject to removal in a future version.void
setVaadinDefaultRequestCache
(com.vaadin.flow.spring.security.VaadinDefaultRequestCache vaadinDefaultRequestCache) Deprecated, for removal: This API element is subject to removal in a future version.void
setViewAccessChecker
(UiViewAccessChecker viewAccessChecker) Deprecated, for removal: This API element is subject to removal in a future version.void
setViewRegistry
(ViewRegistry viewRegistry) Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.security.config.annotation.web.configuration.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.
-
Field Details
-
LOGOUT_URL
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
LOGOUT_SUCCESS_URL
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
SECURITY_CONFIGURER_QUALIFIER
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContextDeprecated, for removal: This API element is subject to removal in a future version. -
vaadinDefaultRequestCache
protected com.vaadin.flow.spring.security.VaadinDefaultRequestCache vaadinDefaultRequestCacheDeprecated, for removal: This API element is subject to removal in a future version. -
configurationProperties
protected com.vaadin.flow.spring.VaadinConfigurationProperties configurationPropertiesDeprecated, for removal: This API element is subject to removal in a future version. -
requestUtil
protected com.vaadin.flow.spring.security.RequestUtil requestUtilDeprecated, for removal: This API element is subject to removal in a future version. -
viewAccessChecker
Deprecated, for removal: This API element is subject to removal in a future version. -
uiProperties
Deprecated, for removal: This API element is subject to removal in a future version. -
viewRegistry
Deprecated, for removal: This API element is subject to removal in a future version. -
serverProperties
protected org.springframework.boot.autoconfigure.web.ServerProperties serverPropertiesDeprecated, for removal: This API element is subject to removal in a future version. -
prevVaadinRequestUtil
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
FlowuiSecurityConfiguration
public FlowuiSecurityConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setPrevVaadinRequestUtil
Deprecated, 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. -
setViewAccessChecker
Deprecated, for removal: This API element is subject to removal in a future version. -
setUiProperties
Deprecated, for removal: This API element is subject to removal in a future version. -
setViewRegistry
Deprecated, 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
-
configure
protected 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
-
initLoginView
protected 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
-
getDefaultHttpSecurityPermitMatcher
public 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
HttpSecurity
bypass matcher
-
getDefaultWebSecurityIgnoreMatcher
public 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
WebSecurity
ignore matcher
-
setLoginView
protected 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
-
setLoginView
protected 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
-
setLoginView
protected 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
-
setLoginView
protected 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
-
createLogoutRequestMatcher
protected org.springframework.security.web.util.matcher.RequestMatcher createLogoutRequestMatcher(String logoutUrl) Deprecated, for removal: This API element is subject to removal in a future version. -
createLogoutRequestMatcher
protected 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. -
createSuccessHandler
protected 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. -
createAccessDeniedHandler
protected org.springframework.security.web.access.AccessDeniedHandler createAccessDeniedHandler()Deprecated, for removal: This API element is subject to removal in a future version. -
getUrlMapping
Deprecated, for removal: This API element is subject to removal in a future version. -
applyUrlMapping
Deprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpath
with the configured url mapping.A
null
path 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()
-
applyUrlMapping
Deprecated, for removal: This API element is subject to removal in a future version.Prepends to the givenpath
with the servlet path prefix from input url mapping.A
null
path is treated as empty string; the same applies for url mapping.- Parameters:
path
- a pathurlMapping
- url mapping- Returns:
- the path with prepended url mapping.
- See Also:
-
VaadinConfigurationProperties.getUrlMapping()
-
getLoginPath
Deprecated, for removal: This API element is subject to removal in a future version.
-
FlowuiVaadinWebSecurity
is used instead.