Interface AuthServerCreationHandler
-
- All Known Implementing Classes:
DefaultAuthServerCreationHandler
public interface AuthServerCreationHandler
Service responsible for creatingauthorization servers
andclients
when a new application is created.In order for this class to work, properties need to be defined. Default properties can be loaded as follows:
broadleaf: auth: server-creation-defaults: {tenantId}: ...
To add a default used across all tenants, substitute {tenantId} with 'default'. Otherwise, this value should be the tenant ID.
To see configurable properties, see
DefaultAuthServerProperties.AuthServerProperties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleAuthServerCreation(Application application, String friendlyName)
Creates necessary authorization servers and clients when a new application is created.
-
-
-
Method Detail
-
handleAuthServerCreation
void handleAuthServerCreation(Application application, String friendlyName)
Creates necessary authorization servers and clients when a new application is created.- Parameters:
application
- The newly created applicationfriendlyName
- The user readable name to be used when creating the auth server and client.
-
-