Index

A C D F G H I L O P R S U V 
All Classes and Interfaces|All Packages|Serialized Form

A

AccessDeniedResponse() - Constructor for class com.codeupsoft.component.security.properties.ComponentSecurityProperties.AccessDeniedResponse
 
afterPropertiesSet() - Method in class com.codeupsoft.component.security.service.SecurityOauthAuthenticateService
初始化Bean属性完成后执行.
AnonymousAccess - Annotation Interface in com.codeupsoft.component.security.annotation
匿名访问注解.
anonymousAccessHandler(RequestMappingHandlerMapping, Environment) - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
匿名访问处理器Bean.
AnonymousAccessHandler - Class in com.codeupsoft.component.security.handler
匿名访问处理器.
AnonymousAccessHandler() - Constructor for class com.codeupsoft.component.security.handler.AnonymousAccessHandler
 
authenticate(HttpServletRequest) - Method in interface com.codeupsoft.component.security.handler.SecurityOauthAuthenticateHandler
 
authenticate(String, HttpServletRequest) - Method in class com.codeupsoft.component.security.service.SecurityOauthAuthenticateService
执行OAuth用户认证流程.
authenticate(Map) - Method in class com.codeupsoft.component.security.service.SecurityAuthenticateService
执行用户认证流程.

C

call() - Method in interface com.codeupsoft.component.security.context.PasswordScopedValue.CallableOp
执行操作.
callWithPassword(String, PasswordScopedValue.CallableOp) - Static method in class com.codeupsoft.component.security.context.PasswordScopedValue
在指定密码的作用域内执行操作并返回结果.
checkPassword(String, String) - Method in class com.codeupsoft.component.security.service.SecurityUserDetailService
检查密码是否匹配.
clearCurrentRequest() - Static method in class com.codeupsoft.component.security.service.impl.SessionSecurityAuthenticateUserService
清除当前请求对象.
com.codeupsoft.component.security.annotation - package com.codeupsoft.component.security.annotation
 
com.codeupsoft.component.security.autoconfigure - package com.codeupsoft.component.security.autoconfigure
 
com.codeupsoft.component.security.context - package com.codeupsoft.component.security.context
 
com.codeupsoft.component.security.exception - package com.codeupsoft.component.security.exception
 
com.codeupsoft.component.security.filter - package com.codeupsoft.component.security.filter
 
com.codeupsoft.component.security.handler - package com.codeupsoft.component.security.handler
 
com.codeupsoft.component.security.properties - package com.codeupsoft.component.security.properties
 
com.codeupsoft.component.security.service - package com.codeupsoft.component.security.service
 
com.codeupsoft.component.security.service.impl - package com.codeupsoft.component.security.service.impl
 
com.codeupsoft.component.security.service.model - package com.codeupsoft.component.security.service.model
 
com.codeupsoft.component.security.utils - package com.codeupsoft.component.security.utils
 
commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class com.codeupsoft.component.security.handler.SecurityAuthenticationEntryPoint
处理认证异常.
ComponentSecurityAutoConfiguration - Class in com.codeupsoft.component.security.autoconfigure
组件安全自动配置类.
ComponentSecurityAutoConfiguration() - Constructor for class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
 
ComponentSecurityProperties - Class in com.codeupsoft.component.security.properties
组件安全配置属性类.
ComponentSecurityProperties() - Constructor for class com.codeupsoft.component.security.properties.ComponentSecurityProperties
 
ComponentSecurityProperties.AccessDeniedResponse - Class in com.codeupsoft.component.security.properties
访问被拒绝响应配置类.
ComponentSecurityProperties.FilterChainConfig - Class in com.codeupsoft.component.security.properties
过滤器链配置类.
ComponentSecurityProperties.UnAuthorized - Class in com.codeupsoft.component.security.properties
未授权访问响应配置类.
createToken(LoginUser) - Method in class com.codeupsoft.component.security.service.impl.RedisSecurityAuthenticateUserService
创建JWT访问令牌.
createToken(LoginUser) - Method in class com.codeupsoft.component.security.service.impl.SessionSecurityAuthenticateUserService
创建访问令牌.
createToken(LoginUser) - Method in interface com.codeupsoft.component.security.service.SecurityAuthenticateUserService
创建访问令牌.

D

DefaultSecurityJwtHandler - Class in com.codeupsoft.component.security.handler
默认JWT处理器实现类.
DefaultSecurityJwtHandler() - Constructor for class com.codeupsoft.component.security.handler.DefaultSecurityJwtHandler
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.codeupsoft.component.security.filter.SecurityAuthenticationFilter
执行过滤逻辑.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.codeupsoft.component.security.filter.SecurityControllerFilter
 

F

FilterChainConfig() - Constructor for class com.codeupsoft.component.security.properties.ComponentSecurityProperties.FilterChainConfig
 

G

generateToken(LoginUser, String) - Method in class com.codeupsoft.component.security.handler.DefaultSecurityJwtHandler
生成JWT访问令牌.
generateToken(LoginUser, String) - Method in interface com.codeupsoft.component.security.handler.SecurityJwtHandler
 
get() - Static method in class com.codeupsoft.component.security.context.PasswordScopedValue
获取当前线程作用域内的密码.
getAllPermissionCode() - Method in class com.codeupsoft.component.security.service.PermissionService
获取管理员权限标识.
getAnonymousAccessPathArray() - Method in class com.codeupsoft.component.security.handler.AnonymousAccessHandler
获取所有允许匿名访问的路径数组.
getAnonymousAccessPaths() - Method in class com.codeupsoft.component.security.handler.AnonymousAccessHandler
获取所有允许匿名访问的路径.
getAuthentication() - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
获取当前认证对象.
getAuthorities() - Method in class com.codeupsoft.component.security.service.model.LoginUser
获取用户的权限集合.
getGrantType() - Method in interface com.codeupsoft.component.security.handler.SecurityOauthAuthenticateHandler
 
getLoginUser() - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
获取当前登录用户信息.
getLoginUser(HttpServletRequest) - Method in class com.codeupsoft.component.security.service.impl.RedisSecurityAuthenticateUserService
从HTTP请求中获取当前登录用户信息.
getLoginUser(HttpServletRequest) - Method in class com.codeupsoft.component.security.service.impl.SessionSecurityAuthenticateUserService
 
getLoginUser(HttpServletRequest) - Method in interface com.codeupsoft.component.security.service.SecurityAuthenticateUserService
从HTTP请求中获取当前登录用户信息.
getLoginUserExt() - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
获取当前登录用户信息(支持扩展类型).
getTokenUid(String) - Method in class com.codeupsoft.component.security.handler.DefaultSecurityJwtHandler
从JWT令牌中提取用户唯一标识符.
getTokenUid(String) - Method in interface com.codeupsoft.component.security.handler.SecurityJwtHandler
 
getUserId() - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
获取当前登录用户ID.
getUsername() - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
获取当前登录用户名.

H

handle(HttpServletRequest, HttpServletResponse, AccessDeniedException) - Method in class com.codeupsoft.component.security.handler.SecurityAccessDeniedHandler
处理访问拒绝异常.
handler(LoginUser) - Method in interface com.codeupsoft.component.security.handler.SecurityAuthenticateAfterHandler
 
handler(Map) - Method in interface com.codeupsoft.component.security.handler.SecurityAuthenticateBeforeHandler
 
hasAnyPermission(String...) - Method in class com.codeupsoft.component.security.service.PermissionService
检查当前登录用户是否拥有任意一个指定权限.
hasAnyRole(String...) - Method in class com.codeupsoft.component.security.service.PermissionService
检查当前登录用户是否拥有任意一个指定角色.
hasPermission(String) - Method in class com.codeupsoft.component.security.service.PermissionService
检查当前登录用户是否拥有指定权限.
hasPermission(String) - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
检查当前用户是否拥有指定权限.
hasRole(String) - Method in class com.codeupsoft.component.security.service.PermissionService
检查当前登录用户是否拥有指定角色.
hasRole(String) - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
检查当前用户是否拥有指定角色.

I

isAccountNonExpired() - Method in class com.codeupsoft.component.security.service.model.LoginUser
检查账户是否未过期.
isAccountNonLocked() - Method in class com.codeupsoft.component.security.service.model.LoginUser
检查账户是否未锁定.
isAdmin() - Method in class com.codeupsoft.component.security.service.PermissionService
检查当前登录用户是否为管理员.
isAuthenticated() - Static method in class com.codeupsoft.component.security.utils.SecurityUtils
检查当前用户是否已认证.
isBound() - Static method in class com.codeupsoft.component.security.context.PasswordScopedValue
检查当前作用域是否已设置密码.
isCredentialsNonExpired() - Method in class com.codeupsoft.component.security.service.model.LoginUser
检查凭证是否未过期.
isEnabled() - Method in class com.codeupsoft.component.security.service.model.LoginUser
检查账户是否启用.

L

loadUser(String, String) - Method in class com.codeupsoft.component.security.service.SecurityUserDetailService
根据用户名和密码加载用户信息(业务实现方法).
loadUserByUsername(String) - Method in class com.codeupsoft.component.security.service.SecurityUserDetailService
根据用户名加载用户信息(Spring Security接口方法).
LoginUser - Class in com.codeupsoft.component.security.service.model
登录用户信息类.
LoginUser() - Constructor for class com.codeupsoft.component.security.service.model.LoginUser
 
logout(HttpServletRequest) - Method in class com.codeupsoft.component.security.service.impl.RedisSecurityAuthenticateUserService
登出当前用户.
logout(HttpServletRequest) - Method in class com.codeupsoft.component.security.service.impl.SessionSecurityAuthenticateUserService
 
logout(HttpServletRequest) - Method in interface com.codeupsoft.component.security.service.SecurityAuthenticateUserService
登出当前用户.

O

onLogoutSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in class com.codeupsoft.component.security.handler.SecurityLogoutSuccessHandler
处理登出成功事件.

P

passwordEncoder() - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
配置密码编码器.
PasswordScopedValue - Class in com.codeupsoft.component.security.context
密码作用域值工具类.
PasswordScopedValue() - Constructor for class com.codeupsoft.component.security.context.PasswordScopedValue
 
PasswordScopedValue.CallableOp<T> - Interface in com.codeupsoft.component.security.context
函数式接口,用于执行可能抛出异常的操作.
permissionService() - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
权限服务Bean.
PermissionService - Class in com.codeupsoft.component.security.service
权限服务类.
PermissionService() - Constructor for class com.codeupsoft.component.security.service.PermissionService
 

R

Redis() - Constructor for class com.codeupsoft.component.security.properties.SecurityAuthenticateProperties.Redis
 
redisSecurityAuthenticateUserService(RedisTemplateClient, SecurityJwtHandler) - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
基于Redis的安全认证用户服务Bean.
RedisSecurityAuthenticateUserService - Class in com.codeupsoft.component.security.service.impl
基于Redis的安全认证用户服务实现类.
RedisSecurityAuthenticateUserService() - Constructor for class com.codeupsoft.component.security.service.impl.RedisSecurityAuthenticateUserService
 
runWithPassword(String, Runnable) - Static method in class com.codeupsoft.component.security.context.PasswordScopedValue
在指定密码的作用域内执行操作.

S

securityAccessDeniedHandler() - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
访问拒绝处理器Bean.
SecurityAccessDeniedHandler - Class in com.codeupsoft.component.security.handler
访问拒绝处理器.
SecurityAccessDeniedHandler() - Constructor for class com.codeupsoft.component.security.handler.SecurityAccessDeniedHandler
 
SecurityAuthenticateAfterHandler - Interface in com.codeupsoft.component.security.handler
安全认证后处理器接口.
SecurityAuthenticateBeforeHandler - Interface in com.codeupsoft.component.security.handler
安全认证前处理器接口.
SecurityAuthenticateProperties - Class in com.codeupsoft.component.security.properties
安全认证配置属性类.
SecurityAuthenticateProperties() - Constructor for class com.codeupsoft.component.security.properties.SecurityAuthenticateProperties
 
SecurityAuthenticateProperties.Redis - Class in com.codeupsoft.component.security.properties
Redis认证配置类.
SecurityAuthenticateProperties.Session - Class in com.codeupsoft.component.security.properties
Session认证配置类.
securityAuthenticateService() - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
 
SecurityAuthenticateService - Class in com.codeupsoft.component.security.service
安全认证服务.
SecurityAuthenticateService() - Constructor for class com.codeupsoft.component.security.service.SecurityAuthenticateService
 
SecurityAuthenticateUserService - Interface in com.codeupsoft.component.security.service
安全认证用户服务接口.
securityAuthenticationEntryPoint() - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
认证入口点处理器Bean.
SecurityAuthenticationEntryPoint - Class in com.codeupsoft.component.security.handler
认证入口点处理器.
SecurityAuthenticationEntryPoint() - Constructor for class com.codeupsoft.component.security.handler.SecurityAuthenticationEntryPoint
 
SecurityAuthenticationFilter - Class in com.codeupsoft.component.security.filter
安全认证过滤器.
SecurityAuthenticationFilter() - Constructor for class com.codeupsoft.component.security.filter.SecurityAuthenticationFilter
 
securityControllerFilter(ComponentSecurityProperties, SecurityAuthenticateService, SecurityAuthenticateUserService) - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
安全认证控制器过滤器Bean.
SecurityControllerFilter - Class in com.codeupsoft.component.security.filter
安全认证控制器过滤器.
SecurityControllerFilter() - Constructor for class com.codeupsoft.component.security.filter.SecurityControllerFilter
 
securityFilterChain(HttpSecurity, SecurityAuthenticateUserService, SecurityAccessDeniedHandler, SecurityAuthenticationEntryPoint, SecurityLogoutSuccessHandler, AnonymousAccessHandler) - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
Spring Security过滤器链配置Bean.
securityJwtHandler() - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
默认JWT处理器Bean.
SecurityJwtHandler - Interface in com.codeupsoft.component.security.handler
JWT处理器接口.
securityLogoutSuccessHandler(SecurityAuthenticateUserService) - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
退出登录成功处理器Bean.
SecurityLogoutSuccessHandler - Class in com.codeupsoft.component.security.handler
退出登录成功处理器.
SecurityLogoutSuccessHandler() - Constructor for class com.codeupsoft.component.security.handler.SecurityLogoutSuccessHandler
 
SecurityOauthAuthenticateHandler - Interface in com.codeupsoft.component.security.handler
OAuth认证处理器接口.
SecurityOauthAuthenticateService - Class in com.codeupsoft.component.security.service
OAuth认证服务类.
SecurityOauthAuthenticateService() - Constructor for class com.codeupsoft.component.security.service.SecurityOauthAuthenticateService
 
SecurityUserDetailService - Class in com.codeupsoft.component.security.service
安全用户详情服务抽象类.
SecurityUserDetailService() - Constructor for class com.codeupsoft.component.security.service.SecurityUserDetailService
 
SecurityUtils - Class in com.codeupsoft.component.security.utils
安全工具类.
SecurityUtils() - Constructor for class com.codeupsoft.component.security.utils.SecurityUtils
 
Session() - Constructor for class com.codeupsoft.component.security.properties.SecurityAuthenticateProperties.Session
 
sessionSecurityAuthenticateUserService() - Method in class com.codeupsoft.component.security.autoconfigure.ComponentSecurityAutoConfiguration
基于Session的安全认证用户服务Bean.
SessionSecurityAuthenticateUserService - Class in com.codeupsoft.component.security.service.impl
基于Session的安全认证用户服务实现类.
SessionSecurityAuthenticateUserService() - Constructor for class com.codeupsoft.component.security.service.impl.SessionSecurityAuthenticateUserService
 
setApplicationContext(ApplicationContext) - Method in class com.codeupsoft.component.security.service.SecurityOauthAuthenticateService
设置Spring应用上下文.
setCurrentRequest(HttpServletRequest) - Static method in class com.codeupsoft.component.security.service.impl.SessionSecurityAuthenticateUserService
设置当前请求对象.

U

UnAuthorized() - Constructor for class com.codeupsoft.component.security.properties.ComponentSecurityProperties.UnAuthorized
 
UnauthorizedException - Exception Class in com.codeupsoft.component.security.exception
未授权异常.
UnauthorizedException() - Constructor for exception class com.codeupsoft.component.security.exception.UnauthorizedException
 

V

validateToken(String, String) - Method in class com.codeupsoft.component.security.handler.DefaultSecurityJwtHandler
验证JWT令牌的有效性.
validateToken(String, String) - Method in interface com.codeupsoft.component.security.handler.SecurityJwtHandler
 
value() - Element in annotation interface com.codeupsoft.component.security.annotation.AnonymousAccess
指定允许匿名访问的环境.
verifyUser(LoginUser) - Method in class com.codeupsoft.component.security.service.impl.RedisSecurityAuthenticateUserService
验证并刷新用户令牌.
verifyUser(LoginUser) - Method in interface com.codeupsoft.component.security.service.SecurityAuthenticateUserService
验证用户信息是否有效.
A C D F G H I L O P R S U V 
All Classes and Interfaces|All Packages|Serialized Form