Class HybrisOpenIDTokenServices

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

@Deprecated(since="ages", forRemoval=true) public class HybrisOpenIDTokenServices extends HybrisOAuthTokenServices
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected KeyStoreHelper
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.oauth2.common.OAuth2AccessToken
    createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    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
  • Field Details

    • ID_TOKEN

      protected static final String ID_TOKEN
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • OPENID_SCOPE_NAME

      protected static final String OPENID_SCOPE_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • ID_TOKEN_VALIDITY_SECONDS

      protected static final String ID_TOKEN_VALIDITY_SECONDS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • KID

      protected static final String KID
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • KEYSTORE_LOCATION

      protected static final String KEYSTORE_LOCATION
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • KEYSTORE_PASSWORD

      protected static final String KEYSTORE_PASSWORD
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • ISS

      protected static final String ISS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • OAUTH2_ALGORITHM

      protected static final String OAUTH2_ALGORITHM
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • clientDetailsDao

      protected ClientDetailsDao clientDetailsDao
      Deprecated, for removal: This API element is subject to removal in a future version.
    • keyStoreHelper

      protected KeyStoreHelper keyStoreHelper
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • HybrisOpenIDTokenServices

      public HybrisOpenIDTokenServices()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createAccessToken

      public org.springframework.security.oauth2.common.OAuth2AccessToken createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) throws org.springframework.security.core.AuthenticationException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createAccessToken in interface org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices
      Overrides:
      createAccessToken in class HybrisOAuthTokenServices
      Throws:
      org.springframework.security.core.AuthenticationException
    • setExternalScopesStrategy

      public void setExternalScopesStrategy(OpenIDExternalScopesStrategy externalScopesStrategy)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setKeyStoreHelper

      public void setKeyStoreHelper(KeyStoreHelper keyStoreHelper)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setClientDetailsDao

      public void setClientDetailsDao(ClientDetailsDao clientDetailsDao)
      Deprecated, for removal: This API element is subject to removal in a future version.