Class DefaultOIDCService
java.lang.Object
de.hybris.platform.oauth2.services.impl.DefaultOIDCService
- All Implemented Interfaces:
OIDCService
OpenID implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration(String clientId, javax.servlet.http.HttpServletRequest request) Generates the server's openid configurationprotected ConfigurationServiceprotected HybrisOpenIDTokenServicesgetJWK(OpenIDClientDetailsModel clientDetails) Generates the server's openid jwks.json contentprotected KeyStoreHelperprotected static StringgetPropertyName(String key, String clientID) protected StringgetPropertyValue(String key, String clientID, boolean mandatory) voidsetClientDetailsDao(ClientDetailsDao clientDetailsDao) voidsetConfigurationService(ConfigurationService configurationService) voidsetHybrisOpenIDTokenServices(HybrisOpenIDTokenServices openidTokenServices) voidsetKeyStoreHelper(KeyStoreHelper keyStoreHelper)
-
Constructor Details
-
DefaultOIDCService
public DefaultOIDCService()
-
-
Method Details
-
getConfiguration
public Map<String,Object> getConfiguration(String clientId, javax.servlet.http.HttpServletRequest request) Description copied from interface:OIDCServiceGenerates the server's openid configuration- Specified by:
getConfigurationin interfaceOIDCService- Parameters:
clientId- The optional clientId for which configuration is returnedrequest- The http request- Returns:
- Map of openid configuration attributes
-
getJWKS
public Map<String,List<Map<String, getJWKSString>>> (String clientId, javax.servlet.http.HttpServletRequest request) Description copied from interface:OIDCServiceGenerates the server's openid jwks.json content- Specified by:
getJWKSin interfaceOIDCService- Parameters:
clientId- The optional clientId for which JWKS are returnedrequest- The http request- Returns:
- Map of JWKS attributes
-
getJWK
-
getPropertyName
-
getPropertyValue
-
getHybrisOpenIDTokenServices
-
setHybrisOpenIDTokenServices
-
getConfigurationService
-
setConfigurationService
-
getKeyStoreHelper
-
setKeyStoreHelper
-
setClientDetailsDao
-