Class DefaultExternalScopesStrategy
java.lang.Object
de.hybris.platform.webservicescommons.oauth2.scope.impl.DefaultExternalScopesStrategy
- All Implemented Interfaces:
OpenIDExternalScopesStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExternalScopes(OAuthClientDetailsModel clientDetailsModel, String principal) Gets the external scopes for given clientDetailsModel and principal UID.voidsetExternalScopesDao(ExternalScopesDao externalScopesDao) voidsetUserService(UserService userService)
-
Field Details
-
externalScopesDao
-
userService
-
-
Constructor Details
-
DefaultExternalScopesStrategy
public DefaultExternalScopesStrategy()
-
-
Method Details
-
getExternalScopes
Description copied from interface:OpenIDExternalScopesStrategyGets the external scopes for given clientDetailsModel and principal UID.- Specified by:
getExternalScopesin interfaceOpenIDExternalScopesStrategy- Parameters:
clientDetailsModel- the client details modelprincipal- the principal - UID- Returns:
- the list of external scopes that the given principal has assigned directly and by groups that it belongs to
-
setExternalScopesDao
-
setUserService
-