Package io.jmix.securityoauth2.impl
Class DevTokenService
java.lang.Object
org.springframework.security.oauth2.provider.token.DefaultTokenServices
io.jmix.securityoauth2.impl.DevTokenService
- All Implemented Interfaces:
 org.springframework.beans.factory.InitializingBean,org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices,org.springframework.security.oauth2.provider.token.ConsumerTokenServices,org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
public class DevTokenService
extends org.springframework.security.oauth2.provider.token.DefaultTokenServices
- 
Constructor Summary
ConstructorsConstructorDescriptionDevTokenService(UserRepository userRepository, SecurityOAuth2Properties oauth2Properties)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.core.Authenticationprotected org.springframework.security.oauth2.provider.OAuth2Requestorg.springframework.security.oauth2.provider.OAuth2AuthenticationloadAuthentication(String accessTokenValue) Methods inherited from class org.springframework.security.oauth2.provider.token.DefaultTokenServices
afterPropertiesSet, createAccessToken, getAccessToken, getAccessTokenValiditySeconds, getClientId, getRefreshTokenValiditySeconds, isExpired, isSupportRefreshToken, readAccessToken, refreshAccessToken, revokeToken, setAccessTokenValiditySeconds, setAuthenticationManager, setClientDetailsService, setRefreshTokenValiditySeconds, setReuseRefreshToken, setSupportRefreshToken, setTokenEnhancer, setTokenStore 
- 
Constructor Details
- 
DevTokenService
 
 - 
 - 
Method Details
- 
loadAuthentication
public org.springframework.security.oauth2.provider.OAuth2Authentication loadAuthentication(String accessTokenValue) throws org.springframework.security.core.AuthenticationException, org.springframework.security.oauth2.common.exceptions.InvalidTokenException - Specified by:
 loadAuthenticationin interfaceorg.springframework.security.oauth2.provider.token.ResourceServerTokenServices- Overrides:
 loadAuthenticationin classorg.springframework.security.oauth2.provider.token.DefaultTokenServices- Throws:
 org.springframework.security.core.AuthenticationExceptionorg.springframework.security.oauth2.common.exceptions.InvalidTokenException
 - 
buildRequest
protected org.springframework.security.oauth2.provider.OAuth2Request buildRequest() - 
buildAuthentication
protected org.springframework.security.core.Authentication buildAuthentication() 
 -