Class DefaultExternalScopesStrategy

java.lang.Object
de.hybris.platform.webservicescommons.oauth2.scope.impl.DefaultExternalScopesStrategy
All Implemented Interfaces:
OpenIDExternalScopesStrategy

public class DefaultExternalScopesStrategy extends Object implements OpenIDExternalScopesStrategy
  • Field Details

  • Constructor Details

    • DefaultExternalScopesStrategy

      public DefaultExternalScopesStrategy()
  • Method Details

    • getExternalScopes

      public List<String> getExternalScopes(OAuthClientDetailsModel clientDetailsModel, String principal)
      Description copied from interface: OpenIDExternalScopesStrategy
      Gets the external scopes for given clientDetailsModel and principal UID.
      Specified by:
      getExternalScopes in interface OpenIDExternalScopesStrategy
      Parameters:
      clientDetailsModel - the client details model
      principal - the principal - UID
      Returns:
      the list of external scopes that the given principal has assigned directly and by groups that it belongs to
    • setExternalScopesDao

      public void setExternalScopesDao(ExternalScopesDao externalScopesDao)
    • setUserService

      public void setUserService(UserService userService)