Class HybrisOAuthTokenServices

java.lang.Object
org.springframework.security.oauth2.provider.token.DefaultTokenServices
de.hybris.platform.webservicescommons.oauth2.token.provider.HybrisOAuthTokenServices
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
Direct Known Subclasses:
DefaultHybrisOpenIDTokenServices, HybrisOpenIDTokenServices

public class HybrisOAuthTokenServices extends org.springframework.security.oauth2.provider.token.DefaultTokenServices
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.oauth2.common.OAuth2AccessToken
    createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
     

    Methods inherited from class org.springframework.security.oauth2.provider.token.DefaultTokenServices

    afterPropertiesSet, getAccessToken, getAccessTokenValiditySeconds, getClientId, getRefreshTokenValiditySeconds, isExpired, isSupportRefreshToken, loadAuthentication, readAccessToken, refreshAccessToken, revokeToken, setAccessTokenValiditySeconds, setAuthenticationManager, setClientDetailsService, setRefreshTokenValiditySeconds, setReuseRefreshToken, setSupportRefreshToken, setTokenEnhancer, setTokenStore

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HybrisOAuthTokenServices

      public HybrisOAuthTokenServices()
  • Method Details

    • createAccessToken

      public org.springframework.security.oauth2.common.OAuth2AccessToken createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) throws org.springframework.security.core.AuthenticationException
      Specified by:
      createAccessToken in interface org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices
      Overrides:
      createAccessToken in class org.springframework.security.oauth2.provider.token.DefaultTokenServices
      Throws:
      org.springframework.security.core.AuthenticationException