public final class OAuth2AuthorizationServerConfigurer<B extends <any>>
extends <any>
AbstractHttpConfigurer
for OAuth 2.0 Authorization Server support.AbstractHttpConfigurer
, RegisteredClientRepository
, OAuth2AuthorizationService
, OAuth2AuthorizationEndpointFilter
, OAuth2TokenEndpointFilter
, OAuth2ClientAuthenticationFilter
Constructor and Description |
---|
OAuth2AuthorizationServerConfigurer() |
Modifier and Type | Method and Description |
---|---|
OAuth2AuthorizationServerConfigurer<B> | authorizationService(OAuth2AuthorizationService authorizationService) Sets the authorization service. |
void | configure(B builder) |
List<RequestMatcher> | getEndpointMatchers() Returns a List of RequestMatcher 's for the authorization server endpoints. |
void | init(B builder) |
OAuth2AuthorizationServerConfigurer<B> | keyManager(KeyManager keyManager) Sets the key manager. |
OAuth2AuthorizationServerConfigurer<B> | registeredClientRepository(RegisteredClientRepository registeredClientRepository) Sets the repository of registered clients. |
public OAuth2AuthorizationServerConfigurer<B> registeredClientRepository(RegisteredClientRepository registeredClientRepository)
registeredClientRepository
- the repository of registered clientsOAuth2AuthorizationServerConfigurer
for further configurationpublic OAuth2AuthorizationServerConfigurer<B> authorizationService(OAuth2AuthorizationService authorizationService)
authorizationService
- the authorization serviceOAuth2AuthorizationServerConfigurer
for further configurationpublic OAuth2AuthorizationServerConfigurer<B> keyManager(KeyManager keyManager)
keyManager
- the key managerOAuth2AuthorizationServerConfigurer
for further configurationpublic List<RequestMatcher> getEndpointMatchers()
List
of RequestMatcher
's for the authorization server endpoints.List
of RequestMatcher
's for the authorization server endpointspublic void init(B builder)
public void configure(B builder)