Class ControlCenterProperties
java.lang.Object
com.vaadin.controlcenter.starter.ControlCenterProperties
@ConfigurationProperties(prefix="vaadin.control-center")
public class ControlCenterProperties
extends Object
Configuration properties for Control Center.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the client-id to register for OpenID Connect authentication.Gets the scope of the OpenID Connect client registration.Gets the client-secret to register for OpenID Connect authentication.Gets the OpenID Connect issuer backend URI.Gets the OpenID Connect issuer frontend URI.Gets the OpenID Connect registration-id.voidsetClientId(String clientId) Sets the client-id to register for OpenID Connect authentication.voidsetClientScope(List<String> clientScope) Sets the scope of the OpenID Connect client registration.voidsetClientSecret(String clientSecret) Sets the client-secret to register for OpenID Connect authentication.voidsetIssuerBackendUri(String issuerBackendUri) Sets the OpenID Connect issuer backend URI.voidsetIssuerFrontendUri(String issuerFrontendUri) Sets the OpenID Connect issuer frontend URI.voidsetRegistrationId(String registrationId) Sets the OpenID Connect registration-id.
-
Constructor Details
-
ControlCenterProperties
public ControlCenterProperties()Create a new instance.
-
-
Method Details
-
getClientId
Gets the client-id to register for OpenID Connect authentication.- Returns:
- the client-id
-
setClientId
Sets the client-id to register for OpenID Connect authentication.- Parameters:
clientId- the client-id
-
getClientSecret
Gets the client-secret to register for OpenID Connect authentication.- Returns:
- the client-secret
-
setClientSecret
Sets the client-secret to register for OpenID Connect authentication.- Parameters:
clientSecret- the client-secret
-
getClientScope
-
setClientScope
-
getRegistrationId
Gets the OpenID Connect registration-id.- Returns:
- the registration-id
-
setRegistrationId
Sets the OpenID Connect registration-id.- Parameters:
registrationId- the registration-id
-
getIssuerBackendUri
Gets the OpenID Connect issuer backend URI.- Returns:
- the issuer backend URI
-
setIssuerBackendUri
Sets the OpenID Connect issuer backend URI.- Parameters:
issuerBackendUri- the issuer backend URI
-
getIssuerFrontendUri
Gets the OpenID Connect issuer frontend URI.- Returns:
- the issuer frontend URI
-
setIssuerFrontendUri
Sets the OpenID Connect issuer frontend URI.- Parameters:
issuerFrontendUri- the issuer frontend URI
-