public final class ResourceServerSecurityConfigurer
extends org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,org.springframework.security.config.annotation.web.builders.HttpSecurity>
| Constructor and Description |
|---|
ResourceServerSecurityConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
ResourceServerSecurityConfigurer |
authenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
TokenStore |
getTokenStore() |
void |
init(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
ResourceServerSecurityConfigurer |
resourceId(String resourceId) |
ResourceServerSecurityConfigurer |
tokenServices(ResourceServerTokenServices tokenServices) |
ResourceServerSecurityConfigurer |
tokenStore(TokenStore tokenStore) |
public TokenStore getTokenStore()
public ResourceServerSecurityConfigurer tokenStore(TokenStore tokenStore)
public ResourceServerSecurityConfigurer authenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
public ResourceServerSecurityConfigurer tokenServices(ResourceServerTokenServices tokenServices)
public void init(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
init in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,org.springframework.security.config.annotation.web.builders.HttpSecurity>init in class org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,org.springframework.security.config.annotation.web.builders.HttpSecurity>Exceptionpublic ResourceServerSecurityConfigurer resourceId(String resourceId)
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,org.springframework.security.config.annotation.web.builders.HttpSecurity>configure in class org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,org.springframework.security.config.annotation.web.builders.HttpSecurity>ExceptionCopyright © 2014. All rights reserved.