Class ExternalAuthProvider
java.lang.Object
com.broadleafcommerce.adminuser.resource.service.provider.external.ExternalAuthProvider
- All Implemented Interfaces:
AuthProvider
-
Constructor Summary
ConstructorsConstructorDescriptionExternalAuthProvider(org.springframework.web.reactive.function.client.WebClient webClient, ExternalAuthProviderProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected ExternalAuthProviderPropertiesprotected Stringprotected Stringprotected Stringprotected Stringprotected org.springframework.web.reactive.function.client.WebClientreadPermissionsByIds(Set<String> ids) Read set of permissions by the supplied idsreadRolesByIds(Set<String> ids) Read a set of roles by the supplied idsprotected ExternalAuthProviderPropertiesvalidateProperties(ExternalAuthProviderProperties properties)
-
Constructor Details
-
ExternalAuthProvider
public ExternalAuthProvider(org.springframework.web.reactive.function.client.WebClient webClient, ExternalAuthProviderProperties properties)
-
-
Method Details
-
readRolesByIds
Description copied from interface:AuthProviderRead a set of roles by the supplied ids- Specified by:
readRolesByIdsin interfaceAuthProvider- Parameters:
ids- The ids of the roles to read- Returns:
- A set of roles
-
readPermissionsByIds
Description copied from interface:AuthProviderRead set of permissions by the supplied ids- Specified by:
readPermissionsByIdsin interfaceAuthProvider- Parameters:
ids- The ids of the permissions to read- Returns:
- A set of permissions
-
getReadRolesByIdsUri
-
getReadPermissionsByIdsUri
-
getAuthUri
-
getReadPermissionByIdsPath
-
getReadRolesByIdsPath
-
validateProperties
protected ExternalAuthProviderProperties validateProperties(ExternalAuthProviderProperties properties) -
getWebClient
protected org.springframework.web.reactive.function.client.WebClient getWebClient() -
getProperties
-