类 AuthorizationServerConfig
- java.lang.Object
-
- org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter
-
- com.codedreamplus.auth.config.AuthorizationServerConfig
-
- 所有已实现的接口:
org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
@Order @Configuration @EnableAuthorizationServer public class AuthorizationServerConfig extends org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter认证服务配置
-
-
构造器概要
构造器 构造器 说明 AuthorizationServerConfig()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidconfigure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients)voidconfigure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints)认证服务端点配置voidconfigure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer)org.springframework.security.oauth2.provider.token.TokenStoretokenStore()
-
-
-
方法详细资料
-
tokenStore
@Bean public org.springframework.security.oauth2.provider.token.TokenStore tokenStore()
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients) throws Exception- 指定者:
configure在接口中org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer- 覆盖:
configure在类中org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter- 抛出:
Exception
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints)
认证服务端点配置- 指定者:
configure在接口中org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer- 覆盖:
configure在类中org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer)
- 指定者:
configure在接口中org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer- 覆盖:
configure在类中org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter
-
-