Class AuthorizationDataInitializationProperties
- java.lang.Object
-
- com.broadleafcommerce.auth.data.autoconfigure.AuthorizationDataInitializationProperties
-
@Configuration @ConfigurationProperties(prefix="broadleaf.auth.data.load") public class AuthorizationDataInitializationProperties extends Object
- Author:
- Elbert Bautista (elbertbautista)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthorizationDataInitializationProperties.AuthorizationServerConfig
static class
AuthorizationDataInitializationProperties.AuthorizedClientConfig
-
Constructor Summary
Constructors Constructor Description AuthorizationDataInitializationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getAdditionalAdminHosts()
Creates additional redirect URIs for the admin using the given hosts.List<String>
getAdditionalApplicationHosts()
Creates additional redirect URIs for each application using the given hosts.List<AuthorizationDataInitializationProperties.AuthorizationServerConfig>
getAuthorizationServers()
List<AuthorizationDataInitializationProperties.AuthorizedClientConfig>
getAuthorizedClients()
String
getBaseAdminHost()
String
getBaseApplicationHost()
Boolean
getCrossOrigin()
Whether or not the default authorization servers should enable cross-origin support.int
hashCode()
boolean
isRegisterDemoApplicationClients()
Determines whether or not to register the demo application clients (heatclinic, aaahotsauces, allthesauce).boolean
isRegisterPredefinedOpenApiClient()
Determines whether or not to register the OpenAPI client already defined in the data initializer.void
setAdditionalAdminHosts(List<String> additionalAdminHosts)
Creates additional redirect URIs for the admin using the given hosts.void
setAdditionalApplicationHosts(List<String> additionalApplicationHosts)
Creates additional redirect URIs for each application using the given hosts.void
setAuthorizationServers(List<AuthorizationDataInitializationProperties.AuthorizationServerConfig> authorizationServers)
void
setAuthorizedClients(List<AuthorizationDataInitializationProperties.AuthorizedClientConfig> authorizedClients)
void
setBaseAdminHost(String baseAdminHost)
void
setBaseApplicationHost(String baseApplicationHost)
void
setCrossOrigin(Boolean crossOrigin)
Whether or not the default authorization servers should enable cross-origin support.void
setRegisterDemoApplicationClients(boolean registerDemoApplicationClients)
Determines whether or not to register the demo application clients (heatclinic, aaahotsauces, allthesauce).void
setRegisterPredefinedOpenApiClient(boolean registerPredefinedOpenApiClient)
Determines whether or not to register the OpenAPI client already defined in the data initializer.String
toString()
-
-
-
Method Detail
-
getAuthorizationServers
public List<AuthorizationDataInitializationProperties.AuthorizationServerConfig> getAuthorizationServers()
-
getAuthorizedClients
public List<AuthorizationDataInitializationProperties.AuthorizedClientConfig> getAuthorizedClients()
-
isRegisterPredefinedOpenApiClient
public boolean isRegisterPredefinedOpenApiClient()
Determines whether or not to register the OpenAPI client already defined in the data initializer.
-
isRegisterDemoApplicationClients
public boolean isRegisterDemoApplicationClients()
Determines whether or not to register the demo application clients (heatclinic, aaahotsauces, allthesauce).
-
getBaseAdminHost
public String getBaseAdminHost()
-
getAdditionalAdminHosts
public List<String> getAdditionalAdminHosts()
Creates additional redirect URIs for the admin using the given hosts.
-
getBaseApplicationHost
public String getBaseApplicationHost()
-
getAdditionalApplicationHosts
public List<String> getAdditionalApplicationHosts()
Creates additional redirect URIs for each application using the given hosts.
-
getCrossOrigin
public Boolean getCrossOrigin()
Whether or not the default authorization servers should enable cross-origin support.
-
setAuthorizationServers
public void setAuthorizationServers(List<AuthorizationDataInitializationProperties.AuthorizationServerConfig> authorizationServers)
-
setAuthorizedClients
public void setAuthorizedClients(List<AuthorizationDataInitializationProperties.AuthorizedClientConfig> authorizedClients)
-
setRegisterPredefinedOpenApiClient
public void setRegisterPredefinedOpenApiClient(boolean registerPredefinedOpenApiClient)
Determines whether or not to register the OpenAPI client already defined in the data initializer.
-
setRegisterDemoApplicationClients
public void setRegisterDemoApplicationClients(boolean registerDemoApplicationClients)
Determines whether or not to register the demo application clients (heatclinic, aaahotsauces, allthesauce).
-
setBaseAdminHost
public void setBaseAdminHost(String baseAdminHost)
-
setAdditionalAdminHosts
public void setAdditionalAdminHosts(List<String> additionalAdminHosts)
Creates additional redirect URIs for the admin using the given hosts.
-
setBaseApplicationHost
public void setBaseApplicationHost(String baseApplicationHost)
-
setAdditionalApplicationHosts
public void setAdditionalApplicationHosts(List<String> additionalApplicationHosts)
Creates additional redirect URIs for each application using the given hosts.
-
setCrossOrigin
public void setCrossOrigin(Boolean crossOrigin)
Whether or not the default authorization servers should enable cross-origin support.
-
canEqual
protected boolean canEqual(Object other)
-
-