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 HybrisOAuthTokenServicesDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientDetailsDaoclientDetailsDaoDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringID_TOKENDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringID_TOKEN_VALIDITY_SECONDSDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringISSDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringKEYSTORE_LOCATIONDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringKEYSTORE_PASSWORDDeprecated, for removal: This API element is subject to removal in a future version.protected KeyStoreHelperkeyStoreHelperDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringKIDDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringOAUTH2_ALGORITHMDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringOPENID_SCOPE_NAMEDeprecated, 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.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 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.
-
-
Method Detail
-
createAccessToken
public org.springframework.security.oauth2.common.OAuth2AccessToken createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) throws org.springframework.security.core.AuthenticationExceptionDeprecated, 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
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.
-
-