public class LoginOutAuthorizeProvider extends Object implements AuthorizeProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.security.web.authentication.logout.LogoutSuccessHandler |
customLogoutSuccessHandler
自定义登录退出处理器
|
| Constructor and Description |
|---|
LoginOutAuthorizeProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
config(PropertyResource propertyResource,
org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry)
授权配置
|
org.springframework.security.web.authentication.logout.LogoutSuccessHandler |
getCustomLogoutSuccessHandler() |
int |
getOrder()
授权提供器的顺序,数字越小越是提前使用,默认值为100
|
void |
setCustomLogoutSuccessHandler(org.springframework.security.web.authentication.logout.LogoutSuccessHandler customLogoutSuccessHandler) |
protected org.springframework.security.web.authentication.logout.LogoutSuccessHandler customLogoutSuccessHandler
public void config(PropertyResource propertyResource, org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry) throws Exception
AuthorizeProviderconfig in interface AuthorizeProviderpropertyResource - 授权资源expressionInterceptUrlRegistry - 注册器Exception - 配置时出现问题public int getOrder()
AuthorizeProvidergetOrder in interface AuthorizeProviderpublic org.springframework.security.web.authentication.logout.LogoutSuccessHandler getCustomLogoutSuccessHandler()
public void setCustomLogoutSuccessHandler(org.springframework.security.web.authentication.logout.LogoutSuccessHandler customLogoutSuccessHandler)
Copyright © 2021. All rights reserved.