public class OAuth2AuthorizationServerConfigurer
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
implements org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
Constructor and Description |
---|
OAuth2AuthorizationServerConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints) |
void |
configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer security) |
void |
configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients) |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
org.springframework.security.authentication.AuthenticationManager |
getAuthenticationManager() |
org.springframework.security.oauth2.provider.ClientDetailsService |
getClientDetails() |
org.springframework.context.ApplicationEventPublisher |
getEventPublisher() |
RequestLocaleProvider |
getLocaleProvider() |
org.springframework.security.oauth2.provider.OAuth2RequestFactory |
getOAuth2RequestFactory() |
org.springframework.beans.factory.ObjectProvider<io.jmix.core.session.SessionData> |
getSessionDataProvider() |
org.springframework.security.oauth2.provider.token.TokenEnhancer |
getTokenEnhancer() |
org.springframework.security.oauth2.provider.TokenGranter |
getTokenGranter() |
org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices |
getTokenServices() |
org.springframework.security.oauth2.provider.token.TokenStore |
getTokenStore() |
void |
setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
void |
setEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher) |
void |
setLocaleProvider(RequestLocaleProvider localeProvider) |
void |
setProperties(SecurityOAuth2Properties properties) |
void |
setSessionDataProvider(org.springframework.beans.factory.ObjectProvider<io.jmix.core.session.SessionData> sessionDataProvider) |
void |
setTokenStore(org.springframework.security.oauth2.provider.token.TokenStore tokenStore) |
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
@Autowired public void setProperties(SecurityOAuth2Properties properties)
@Autowired public void setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
@Autowired public void setTokenStore(org.springframework.security.oauth2.provider.token.TokenStore tokenStore)
@Autowired public void setLocaleProvider(RequestLocaleProvider localeProvider)
@Autowired public void setSessionDataProvider(org.springframework.beans.factory.ObjectProvider<io.jmix.core.session.SessionData> sessionDataProvider)
@Autowired public void setEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher)
public org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()
public org.springframework.security.oauth2.provider.token.TokenStore getTokenStore()
public org.springframework.beans.factory.ObjectProvider<io.jmix.core.session.SessionData> getSessionDataProvider()
public RequestLocaleProvider getLocaleProvider()
public org.springframework.context.ApplicationEventPublisher getEventPublisher()
public org.springframework.security.oauth2.provider.token.TokenEnhancer getTokenEnhancer()
public org.springframework.security.oauth2.provider.ClientDetailsService getClientDetails()
public org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices getTokenServices()
public org.springframework.security.oauth2.provider.OAuth2RequestFactory getOAuth2RequestFactory()
public org.springframework.security.oauth2.provider.TokenGranter getTokenGranter()
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer security) throws java.lang.Exception
configure
in interface org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
java.lang.Exception
public void configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients) throws java.lang.Exception
configure
in interface org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
java.lang.Exception
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints)
configure
in interface org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws java.lang.Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
java.lang.Exception