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
FieldsModifier and TypeFieldDescriptionprotected ClientDetailsDaoDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected KeyStoreHelperDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.common.OAuth2AccessTokencreateAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) Deprecated, for removal: This API element is subject to removal in a future version.voidsetClientDetailsDao(ClientDetailsDao clientDetailsDao) Deprecated, for removal: This API element is subject to removal in a future version.voidsetExternalScopesStrategy(OpenIDExternalScopesStrategy externalScopesStrategy) Deprecated, for removal: This API element is subject to removal in a future version.voidsetKeyStoreHelper(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
-
Field Details
-
ID_TOKEN
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
OPENID_SCOPE_NAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
ID_TOKEN_VALIDITY_SECONDS
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
KID
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
KEYSTORE_LOCATION
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
KEYSTORE_PASSWORD
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
ISS
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
OAUTH2_ALGORITHM
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
clientDetailsDao
Deprecated, for removal: This API element is subject to removal in a future version. -
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:
createAccessTokenin interfaceorg.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices- Overrides:
createAccessTokenin classHybrisOAuthTokenServices- Throws:
org.springframework.security.core.AuthenticationException
-
setExternalScopesStrategy
Deprecated, for removal: This API element is subject to removal in a future version. -
setKeyStoreHelper
Deprecated, for removal: This API element is subject to removal in a future version. -
setClientDetailsDao
Deprecated, for removal: This API element is subject to removal in a future version.
-