Package | Description |
---|---|
com.yishuifengxiao.common.oauth2 | |
com.yishuifengxiao.common.oauth2.filter |
Modifier and Type | Method and Description |
---|---|
javax.servlet.Filter |
Oauth2ExtendAutoConfiguration.tokenEndpointFilter(HandlerProcessor handlerProcessor,
PropertyResource propertyResource,
SecurityHelper securityHelper,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
Oauth2Properties oauth2Properties)
配置一个过滤器,用于在oauth2中提前验证用户名和密码以及clientId
|
Constructor and Description |
---|
TokenEndpointFilter(HandlerProcessor handlerProcessor,
PropertyResource propertyResource,
SecurityHelper securityHelper,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
Oauth2Properties oauth2Properties) |
Copyright © 2021. All rights reserved.