Index
All Classes and Interfaces|All Packages
A
- addToStorage(LinkedHashMap<HerodotusRequest, List<HerodotusSecurityAttribute>>, boolean) - Method in class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeStorage
-
将权限数据添加至本地存储
- addToStorage(LinkedHashMap<HerodotusRequest, List<HerodotusSecurityAttribute>>, LinkedHashMap<HerodotusRequest, List<HerodotusSecurityAttribute>>, boolean) - Method in class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeStorage
-
将权限数据添加至本地存储,存储之前进行规则冲突校验
B
- basePath(String) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher.Builder
-
Match requests starting with this
basePath. - Builder() - Constructor for class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher.Builder
- Builder(PathPatternParser) - Constructor for class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher.Builder
- Builder(PathPatternParser, String) - Constructor for class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher.Builder
C
- check(Supplier<Authentication>, RequestAuthorizationContext) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.ServletSecurityAuthorizationManager
- cn.herodotus.engine.oauth2.authorization.config - package cn.herodotus.engine.oauth2.authorization.config
- cn.herodotus.engine.oauth2.authorization.converter - package cn.herodotus.engine.oauth2.authorization.converter
- cn.herodotus.engine.oauth2.authorization.matcher - package cn.herodotus.engine.oauth2.authorization.matcher
- cn.herodotus.engine.oauth2.authorization.processor - package cn.herodotus.engine.oauth2.authorization.processor
- cn.herodotus.engine.oauth2.authorization.servlet - package cn.herodotus.engine.oauth2.authorization.servlet
- commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.HerodotusAuthenticationEntryPoint
- convert(Jwt) - Method in class cn.herodotus.engine.oauth2.authorization.converter.HerodotusJwtGrantedAuthoritiesConverter
-
Extract
GrantedAuthoritys from the givenJwt. - customize(AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2AuthorizeHttpRequestsConfigurerCustomer
- customize(ExceptionHandlingConfigurer<HttpSecurity>) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2ExceptionHandlingConfigurerCustomizer
- customize(OAuth2ResourceServerConfigurer<HttpSecurity>) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2ResourceServerConfigurerCustomer
- customize(SessionManagementConfigurer<HttpSecurity>) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2SessionManagementConfigurerCustomer
E
- equals(Object) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusAnyRequestMatcher
- equals(Object) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
G
- getCompatible() - Method in class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeStorage
-
从 compatible 缓存中获取全部不需要路径匹配的(包含*号的url)请求权限映射Map
- getConfigAttribute(String, String) - Method in class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeStorage
-
根据请求的 url 和 method 获取权限对象
- getOAuth2AuthorizeHttpRequestsConfigurerCustomer() - Method in class cn.herodotus.engine.oauth2.authorization.servlet.ServletOAuth2AuthorizationConfigurerManager
- getOAuth2ExceptionHandlingConfigurerCustomizer() - Method in class cn.herodotus.engine.oauth2.authorization.servlet.ServletOAuth2AuthorizationConfigurerManager
- getOAuth2ResourceServerConfigurerCustomer() - Method in class cn.herodotus.engine.oauth2.authorization.servlet.ServletOAuth2AuthorizationConfigurerManager
- getOAuth2SessionManagementConfigurerCustomer() - Method in class cn.herodotus.engine.oauth2.authorization.servlet.ServletOAuth2AuthorizationConfigurerManager
H
- handle(HttpServletRequest, HttpServletResponse, AccessDeniedException) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.HerodotusAccessDeniedHandler
- hashCode() - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusAnyRequestMatcher
- hashCode() - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
- HerodotusAccessDeniedHandler - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: 访问拒绝处理器
- HerodotusAccessDeniedHandler(ThymeleafTemplateHandler) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.HerodotusAccessDeniedHandler
- HerodotusAnyRequestMatcher - Class in cn.herodotus.engine.oauth2.authorization.matcher
-
Description: 自定义任意请求匹配器
- HerodotusAuthenticationEntryPoint - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: 自定义未认证处理
- HerodotusAuthenticationEntryPoint(ThymeleafTemplateHandler) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.HerodotusAuthenticationEntryPoint
- HerodotusJwtAuthenticationConverter - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: 扩展的 JwtAuthenticationConverter
- HerodotusJwtAuthenticationConverter() - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.HerodotusJwtAuthenticationConverter
- HerodotusJwtGrantedAuthoritiesConverter - Class in cn.herodotus.engine.oauth2.authorization.converter
-
Description: Jwt 权限数据转换器
- HerodotusJwtGrantedAuthoritiesConverter() - Constructor for class cn.herodotus.engine.oauth2.authorization.converter.HerodotusJwtGrantedAuthoritiesConverter
- HerodotusPathPatternRequestMatcher - Class in cn.herodotus.engine.oauth2.authorization.matcher
-
Description: 自定义请求路径匹配器
- HerodotusPathPatternRequestMatcher.Builder - Class in cn.herodotus.engine.oauth2.authorization.matcher
-
A builder for specifying various elements of a request for the purpose of creating a
HerodotusPathPatternRequestMatcher. - HerodotusRequestMatcher - Interface in cn.herodotus.engine.oauth2.authorization.matcher
-
Description: 自定义
RequestMatcher接口扩展,在没有HttpServletRequest的环境下 - HerodotusSessionAuthenticationStrategy - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: 自定义扩展 SessionAuthenticationStrategy
- HerodotusSessionAuthenticationStrategy(SessionRegistry) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.HerodotusSessionAuthenticationStrategy
- httpSessionEventPublisher() - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletSessionConfiguration
-
If a SessionRegistry @Bean is registered and is an instance of SessionRegistryImpl, a HttpSessionEventPublisher @Bean SHOULD also be registered as it’s responsible for notifying SessionRegistryImpl of session lifecycle events, f or example, SessionDestroyedEvent, to provide the ability to remove the SessionInformation instance.
I
- INSTANCE - Static variable in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusAnyRequestMatcher
M
- matcher(HerodotusRequest) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher.Builder
- matcher(HerodotusRequest) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
-
判断策略所实施的规则是否与提供的请求相匹配
- matcher(HerodotusRequest) - Method in interface cn.herodotus.engine.oauth2.authorization.matcher.HerodotusRequestMatcher
-
判断策略所实施的规则是否与提供的请求相匹配
- matcher(HttpServletRequest) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
- matcher(String) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher.Builder
-
Match requests having this path pattern.
- matcher(HttpMethod, String) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher.Builder
-
Match requests having this
HttpMethodand path pattern. - matches(HerodotusRequest) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusAnyRequestMatcher
- matches(HerodotusRequest) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
- matches(HerodotusRequest) - Method in interface cn.herodotus.engine.oauth2.authorization.matcher.HerodotusRequestMatcher
-
判断策略所实施的规则是否与提供的请求相匹配
- matches(HttpServletRequest) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusAnyRequestMatcher
- matches(HttpServletRequest) - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
O
- OAuth2AuthorizeHttpRequestsConfigurerCustomer - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: AuthorizeHttpRequestsConfigurer 扩展配置
- OAuth2AuthorizeHttpRequestsConfigurerCustomer(ServletOAuth2ResourceMatcherConfigurer, ServletSecurityAuthorizationManager) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2AuthorizeHttpRequestsConfigurerCustomer
- OAuth2ExceptionHandlingConfigurerCustomizer - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: 授权服务器错误处理自定义器
- OAuth2ExceptionHandlingConfigurerCustomizer(ThymeleafTemplateHandler) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2ExceptionHandlingConfigurerCustomizer
- OAuth2ResourceServerConfigurerCustomer - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: OAuth2ResourceServerConfigurer 扩展配置
- OAuth2ResourceServerConfigurerCustomer(OAuth2AuthorizationProperties, JwtDecoder, OpaqueTokenIntrospector) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2ResourceServerConfigurerCustomer
- OAuth2ServletAuthorizationConfiguration - Class in cn.herodotus.engine.oauth2.authorization.config
-
Description: SecurityAttribute 配置
- OAuth2ServletAuthorizationConfiguration() - Constructor for class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletAuthorizationConfiguration
- OAuth2ServletSessionConfiguration - Class in cn.herodotus.engine.oauth2.authorization.config
-
Description: OAuth2 Session 共享配置
- OAuth2ServletSessionConfiguration() - Constructor for class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletSessionConfiguration
- OAuth2SessionManagementConfigurerCustomer - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: SessionManagementConfigurer 扩展配置
- OAuth2SessionManagementConfigurerCustomer(SessionRegistry) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.OAuth2SessionManagementConfigurerCustomer
- onAuthentication(Authentication, HttpServletRequest, HttpServletResponse) - Method in class cn.herodotus.engine.oauth2.authorization.servlet.HerodotusSessionAuthenticationStrategy
P
- postConstruct() - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletAuthorizationConfiguration
- postConstruct() - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletSessionConfiguration
- processAttributeTransmitters(List<AttributeTransmitter>) - Method in class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeAnalyzer
-
处理分发的 SecurityAttribute,将其转换、解析为表达式权限,并存入本地缓存,用于权限校验
- processRequestMatchers() - Method in class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeAnalyzer
-
各个服务静态化配置的权限过滤,通常为通配符型或者全路径型,很少有站位符型。
S
- securityAttributeAnalyzer(SecurityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer) - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletAuthorizationConfiguration
- SecurityAttributeAnalyzer - Class in cn.herodotus.engine.oauth2.authorization.processor
-
Description: SecurityMetadata异步处理Service
- SecurityAttributeAnalyzer(SecurityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer) - Constructor for class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeAnalyzer
- SecurityAttributeStorage - Class in cn.herodotus.engine.oauth2.authorization.processor
-
Description: SecurityAttribute 本地存储
- SecurityAttributeStorage() - Constructor for class cn.herodotus.engine.oauth2.authorization.processor.SecurityAttributeStorage
- securityMetadataSourceStorage() - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletAuthorizationConfiguration
- ServletOAuth2AuthorizationConfigurerManager - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: 资源服务器通用 Bean 配置器
- ServletOAuth2AuthorizationConfigurerManager(ThymeleafTemplateHandler, OAuth2AuthorizationProperties, JwtDecoder, OpaqueTokenIntrospector, OAuth2SessionManagementConfigurerCustomer, ServletOAuth2ResourceMatcherConfigurer, ServletSecurityAuthorizationManager) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.ServletOAuth2AuthorizationConfigurerManager
- servletOAuth2AuthorizationFacadeConfigurer(ThymeleafTemplateHandler, OAuth2AuthorizationProperties, JwtDecoder, OpaqueTokenIntrospector, OAuth2SessionManagementConfigurerCustomer, ServletOAuth2ResourceMatcherConfigurer, ServletSecurityAuthorizationManager) - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletAuthorizationConfiguration
- servletSecurityAuthorizationManager(SecurityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer) - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletAuthorizationConfiguration
- ServletSecurityAuthorizationManager - Class in cn.herodotus.engine.oauth2.authorization.servlet
-
Description: Spring Security 6 授权管理器
- ServletSecurityAuthorizationManager(SecurityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer) - Constructor for class cn.herodotus.engine.oauth2.authorization.servlet.ServletSecurityAuthorizationManager
- sessionManagementConfigurerCustomer(SessionRegistry) - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletSessionConfiguration
- sessionRegistry(FindByIndexNameSessionRepository<S>) - Method in class cn.herodotus.engine.oauth2.authorization.config.OAuth2ServletSessionConfiguration
- setAuthoritiesClaimName(String) - Method in class cn.herodotus.engine.oauth2.authorization.converter.HerodotusJwtGrantedAuthoritiesConverter
-
Sets the name of token claim to use for mapping
authoritiesby this converter. - setAuthorityPrefix(String) - Method in class cn.herodotus.engine.oauth2.authorization.converter.HerodotusJwtGrantedAuthoritiesConverter
-
Sets the prefix to use for
authoritiesmapped by this converter.
T
- toString() - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusAnyRequestMatcher
- toString() - Method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
W
- withDefaults() - Static method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
-
Use
PathPatternParser.defaultInstanceto parse path patterns. - withPathPatternParser(PathPatternParser) - Static method in class cn.herodotus.engine.oauth2.authorization.matcher.HerodotusPathPatternRequestMatcher
-
Use this
PathPatternParserto parse path patterns.
All Classes and Interfaces|All Packages