public interface AuthServerCreationHandler
authorization servers and
clients 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
| Modifier and Type | Method and Description |
|---|---|
void |
handleAuthServerCreation(Application application,
String friendlyName)
Creates necessary authorization servers and clients when a new application is created.
|
void handleAuthServerCreation(Application application, String friendlyName)
application - The newly created applicationfriendlyName - The user readable name to be used when creating the auth server and
client.Copyright © 2021. All rights reserved.