Class 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
      protected ClientDetailsDao clientDetailsDao
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String ID_TOKEN
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String ID_TOKEN_VALIDITY_SECONDS
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String ISS
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String KEYSTORE_LOCATION
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String KEYSTORE_PASSWORD
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected KeyStoreHelper keyStoreHelper
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String KID
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String OAUTH2_ALGORITHM
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected static java.lang.String OPENID_SCOPE_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      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 setClientDetailsDao​(ClientDetailsDao clientDetailsDao)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setExternalScopesStrategy​(OpenIDExternalScopesStrategy externalScopesStrategy)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setKeyStoreHelper​(KeyStoreHelper keyStoreHelper)
      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 Detail

      • ID_TOKEN

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

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

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

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

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

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

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

        protected static final java.lang.String OAUTH2_ALGORITHM
        Deprecated, for removal: This API element is subject to removal in a future version.
        See Also:
        Constant Field Values
      • 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 Detail

      • HybrisOpenIDTokenServices

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

      • 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.