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 String
protected ExternalAuthProviderProperties
protected String
protected String
protected String
protected String
protected org.springframework.web.reactive.function.client.WebClient
readPermissionsByIds
(Set<String> ids) Read set of permissions by the supplied idsreadRolesByIds
(Set<String> ids) Read a set of roles by the supplied idsprotected ExternalAuthProviderProperties
validateProperties
(ExternalAuthProviderProperties properties)
-
Constructor Details
-
ExternalAuthProvider
public ExternalAuthProvider(org.springframework.web.reactive.function.client.WebClient webClient, ExternalAuthProviderProperties properties)
-
-
Method Details
-
readRolesByIds
Description copied from interface:AuthProvider
Read a set of roles by the supplied ids- Specified by:
readRolesByIds
in interfaceAuthProvider
- Parameters:
ids
- The ids of the roles to read- Returns:
- A set of roles
-
readPermissionsByIds
Description copied from interface:AuthProvider
Read set of permissions by the supplied ids- Specified by:
readPermissionsByIds
in 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
-