public final class AuthorizationServerEndpointsConfigurer extends Object
Constructor and Description |
---|
AuthorizationServerEndpointsConfigurer() |
public AuthorizationServerEndpointsConfigurer()
public AuthorizationServerTokenServices getTokenServices()
public TokenStore getTokenStore()
public TokenEnhancer getTokenEnhancer()
public AccessTokenConverter getAccessTokenConverter()
public ApprovalStore getApprovalStore()
public ClientDetailsService getClientDetailsService()
public OAuth2RequestFactory getOAuth2RequestFactory()
public OAuth2RequestValidator getOAuth2RequestValidator()
public UserApprovalHandler getUserApprovalHandler()
public AuthorizationServerEndpointsConfigurer tokenStore(TokenStore tokenStore)
public AuthorizationServerEndpointsConfigurer tokenEnhancer(TokenEnhancer tokenEnhancer)
public AuthorizationServerEndpointsConfigurer reuseRefreshTokens(boolean reuseRefreshToken)
public AuthorizationServerEndpointsConfigurer accessTokenConverter(AccessTokenConverter accessTokenConverter)
public AuthorizationServerEndpointsConfigurer tokenServices(AuthorizationServerTokenServices tokenServices)
public AuthorizationServerEndpointsConfigurer redirectResolver(RedirectResolver redirectResolver)
public boolean isTokenServicesOverride()
public boolean isUserDetailsServiceOverride()
public AuthorizationServerEndpointsConfigurer userApprovalHandler(UserApprovalHandler approvalHandler)
public AuthorizationServerEndpointsConfigurer approvalStore(ApprovalStore approvalStore)
public AuthorizationServerEndpointsConfigurer approvalStoreDisabled()
public AuthorizationServerEndpointsConfigurer prefix(String prefix)
public AuthorizationServerEndpointsConfigurer pathMapping(String defaultPath, String customPath)
public AuthorizationServerEndpointsConfigurer addInterceptor(HandlerInterceptor interceptor)
public AuthorizationServerEndpointsConfigurer addInterceptor(WebRequestInterceptor interceptor)
public AuthorizationServerEndpointsConfigurer exceptionTranslator(WebResponseExceptionTranslator<OAuth2Exception> exceptionTranslator)
public AuthorizationServerEndpointsConfigurer authenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
authenticationManager
- an AuthenticationManager, fully initializedpublic AuthorizationServerEndpointsConfigurer tokenGranter(TokenGranter tokenGranter)
public void setClientDetailsService(ClientDetailsService clientDetailsService)
AuthorizationServerConfigurerAdapter.configure(ClientDetailsServiceConfigurer)
.public AuthorizationServerEndpointsConfigurer requestFactory(OAuth2RequestFactory requestFactory)
public AuthorizationServerEndpointsConfigurer requestValidator(OAuth2RequestValidator requestValidator)
public AuthorizationServerEndpointsConfigurer authorizationCodeServices(AuthorizationCodeServices authorizationCodeServices)
public AuthorizationServerEndpointsConfigurer allowedTokenEndpointRequestMethods(org.springframework.http.HttpMethod... requestMethods)
public AuthorizationServerEndpointsConfigurer userDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
public ConsumerTokenServices getConsumerTokenServices()
public ResourceServerTokenServices getResourceServerTokenServices()
public AuthorizationCodeServices getAuthorizationCodeServices()
public Set<org.springframework.http.HttpMethod> getAllowedTokenEndpointRequestMethods()
public OAuth2RequestValidator getRequestValidator()
public TokenGranter getTokenGranter()
public FrameworkEndpointHandlerMapping getFrameworkEndpointHandlerMapping()
public WebResponseExceptionTranslator<OAuth2Exception> getExceptionTranslator()
public RedirectResolver getRedirectResolver()
public AuthorizationServerTokenServices getDefaultAuthorizationServerTokenServices()
Copyright © 2019. All rights reserved.