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
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionDeprecated, 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 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_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
HttpSecuritybypass 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
WebSecurityignore 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 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()
-
applyUrlMapping
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.A
nullpath 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.
-
FlowuiVaadinWebSecurityis used instead.