Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngotContainerInjector ¶
type IngotContainerInjector struct { *container.DefaultContainerInjector // 此处注入的实例可以通过GetValue方法获取 OauthClientDetailsDao *dao.OauthClientDetails UserDetailService service.UserDetail Ignore utils.RequestMatcher // inject 代表自定义替换默认容器中的实例 ClientDetailsService *securityService.ClientDetails `inject:"true"` UserDetailsService *securityService.UserDetails `inject:"true"` ResourceServerAdapter *ResourceServerAdapter `inject:"true"` IngotEnhancerChain *appToken.IngotEnhancerChain `inject:"true"` IngotUserAuthenticationConverter *appToken.IngotUserAuthenticationConverter `inject:"true"` }
IngotContainerInjector 安全注入
type ResourceServerAdapter ¶
type ResourceServerAdapter struct { *configurer.ResourceServerConfigurerAdapter // contains filtered or unexported fields }
ResourceServerAdapter 自定义适配器
func NewResourceServerAdapter ¶
func NewResourceServerAdapter(parent *configurer.ResourceServerConfigurerAdapter, ignoreMatcher utils.RequestMatcher) *ResourceServerAdapter
NewResourceServerAdapter 实例化
func (*ResourceServerAdapter) HTTPConfigure ¶
func (adapter *ResourceServerAdapter) HTTPConfigure(http security.HTTPSecurityBuilder) error
HTTPConfigure 配置
func (*ResourceServerAdapter) WebConfigure ¶
func (adapter *ResourceServerAdapter) WebConfigure(web security.WebSecurityBuilder) error
WebConfigure Web安全配置
Click to show internal directories.
Click to hide internal directories.