config

package
v0.0.0-...-85aee89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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安全配置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL