Class DefaultOIDCService

java.lang.Object
de.hybris.platform.oauth2.services.impl.DefaultOIDCService
All Implemented Interfaces:
OIDCService

public class DefaultOIDCService extends Object implements OIDCService
OpenID implementation
  • Constructor Details

    • DefaultOIDCService

      public DefaultOIDCService()
  • Method Details

    • getConfiguration

      public Map<String,Object> getConfiguration(String clientId, javax.servlet.http.HttpServletRequest request)
      Description copied from interface: OIDCService
      Generates the server's openid configuration
      Specified by:
      getConfiguration in interface OIDCService
      Parameters:
      clientId - The optional clientId for which configuration is returned
      request - The http request
      Returns:
      Map of openid configuration attributes
    • getJWKS

      public Map<String,List<Map<String,String>>> getJWKS(String clientId, javax.servlet.http.HttpServletRequest request)
      Description copied from interface: OIDCService
      Generates the server's openid jwks.json content
      Specified by:
      getJWKS in interface OIDCService
      Parameters:
      clientId - The optional clientId for which JWKS are returned
      request - The http request
      Returns:
      Map of JWKS attributes
    • getJWK

      protected Map<String,String> getJWK(OpenIDClientDetailsModel clientDetails)
    • getPropertyName

      protected static String getPropertyName(String key, String clientID)
    • getPropertyValue

      protected String getPropertyValue(String key, String clientID, boolean mandatory)
    • getHybrisOpenIDTokenServices

      protected HybrisOpenIDTokenServices getHybrisOpenIDTokenServices()
    • setHybrisOpenIDTokenServices

      public void setHybrisOpenIDTokenServices(HybrisOpenIDTokenServices openidTokenServices)
    • getConfigurationService

      protected ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)
    • getKeyStoreHelper

      protected KeyStoreHelper getKeyStoreHelper()
    • setKeyStoreHelper

      public void setKeyStoreHelper(KeyStoreHelper keyStoreHelper)
    • setClientDetailsDao

      public void setClientDetailsDao(ClientDetailsDao clientDetailsDao)