Class IdentityManagementProperties
java.lang.Object
com.vaadin.controlcenter.starter.idm.IdentityManagementProperties
- All Implemented Interfaces:
Serializable
@ConfigurationProperties(prefix="vaadin.control-center.idm")
public final class IdentityManagementProperties
extends Object
implements Serializable
Identity Management properties for the application.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe client ID property.static final StringThe client registration ID property.static final StringThe client secret property.static final StringThe enabled property.static final StringThe issuer backend URI property.static final StringThe issuer frontend URI property.static final StringThe login route property.static final StringThe login success route property.static final StringThe logout success route property.static final StringThe prefix for the Identity Management properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the client ID.Returns the client registration ID.Returns the client secret.Returns the issuer backend URI.Returns the issuer frontend URI.Returns the login route.Returns the login success route.Returns the logout success route.booleanReturns whether Identity Management is enabled.voidsetClientId(String clientId) Sets the client ID.voidsetClientRegistrationId(String clientRegistrationId) Sets the client registration ID.voidsetClientSecret(String clientSecret) Sets the client secret.voidsetEnabled(boolean enabled) Sets whether Identity Management is enabled.voidsetIssuerBackendUri(String issuerBackendUri) Sets the issuer backend URI.voidsetIssuerFrontendUri(String issuerFrontendUri) Sets the issuer frontend URI.voidsetLoginRoute(String loginRoute) Sets the login route.voidsetLoginSuccessRoute(String loginSuccessRoute) Sets the login success route.voidsetLogoutSuccessRoute(String logoutSuccessRoute) Sets the logout success route.
-
Field Details
-
PREFIX
The prefix for the Identity Management properties.- See Also:
-
ENABLED
The enabled property.- See Also:
-
LOGIN_ROUTE
The login route property.- See Also:
-
LOGIN_SUCCESS_ROUTE
The login success route property.- See Also:
-
LOGOUT_SUCCESS_ROUTE
The logout success route property.- See Also:
-
ISSUER_BACKEND_URI
The issuer backend URI property.- See Also:
-
ISSUER_FRONTEND_URI
The issuer frontend URI property.- See Also:
-
CLIENT_ID
The client ID property.- See Also:
-
CLIENT_SECRET
The client secret property.- See Also:
-
CLIENT_REGISTRATION_ID
The client registration ID property.- See Also:
-
-
Constructor Details
-
IdentityManagementProperties
public IdentityManagementProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether Identity Management is enabled.- Returns:
trueif enabled;falseotherwise
-
setEnabled
public void setEnabled(boolean enabled) Sets whether Identity Management is enabled.- Parameters:
enabled-trueif enabled;falseotherwise
-
getLoginRoute
Returns the login route.- Returns:
- the login route
-
setLoginRoute
Sets the login route.- Parameters:
loginRoute- the login route
-
getLoginSuccessRoute
Returns the login success route.- Returns:
- the login success route
-
setLoginSuccessRoute
Sets the login success route.- Parameters:
loginSuccessRoute- the login success route
-
getLogoutSuccessRoute
Returns the logout success route.- Returns:
- the logout success route
-
setLogoutSuccessRoute
Sets the logout success route.- Parameters:
logoutSuccessRoute- the logout success route
-
getIssuerBackendUri
Returns the issuer backend URI.- Returns:
- the issuer backend URI
-
setIssuerBackendUri
Sets the issuer backend URI.- Parameters:
issuerBackendUri- the issuer backend URI
-
getIssuerFrontendUri
Returns the issuer frontend URI.- Returns:
- the issuer frontend URI
-
setIssuerFrontendUri
Sets the issuer frontend URI.- Parameters:
issuerFrontendUri- the issuer frontend URI
-
getClientId
Returns the client ID.- Returns:
- the client ID
-
setClientId
Sets the client ID.- Parameters:
clientId- the client ID
-
getClientSecret
Returns the client secret.- Returns:
- the client secret
-
setClientSecret
Sets the client secret.- Parameters:
clientSecret- the client secret
-
getClientRegistrationId
Returns the client registration ID.- Returns:
- the client registration ID
-
setClientRegistrationId
Sets the client registration ID.- Parameters:
clientRegistrationId- the client registration ID
-