Package com.vaadin.sso.starter
Class SingleSignOnProperties
- java.lang.Object
-
- com.vaadin.sso.starter.SingleSignOnProperties
-
@ConfigurationProperties(prefix="vaadin.sso") public class SingleSignOnProperties extends Object
Definition of configuration properties for the SSO Kit starter.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description SingleSignOnProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackChannelLogoutRoute()Gets the Back-Channel Logout route.StringgetLoginRoute()Gets the login-route property.StringgetLogoutRedirectRoute()Gets the logout-redirect route.intgetMaximumConcurrentSessions()Gets the maximum number of concurrent sessions per user.booleanisAutoConfigure()Checks is auto-configuration ofSingleSignOnConfigurationis enabled.booleanisBackChannelLogout()Checks weather Back-Channel logout is enabled.voidsetAutoConfigure(boolean autoConfigure)Enables or disables auto-configuration ofSingleSignOnConfiguration.voidsetBackChannelLogout(boolean backChannelLogout)Sets is Back-Channel logout is enabled.voidsetBackChannelLogoutRoute(String backchannelLogoutRoute)Sets the Back-Channel Logout route.voidsetLoginRoute(String loginRoute)Sets the login-route property.voidsetLogoutRedirectRoute(String logoutRedirectRoute)Sets the logout-redirect route.voidsetMaximumConcurrentSessions(int maximumConcurrentSessions)Sets maximum number of concurrent sessions per user.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
The prefix for SSO Kit starter properties.- See Also:
- Constant Field Values
-
-
Method Detail
-
isAutoConfigure
public boolean isAutoConfigure()
Checks is auto-configuration ofSingleSignOnConfigurationis enabled.- Returns:
- true, if auto-configuration is enabled
-
setAutoConfigure
public void setAutoConfigure(boolean autoConfigure)
Enables or disables auto-configuration ofSingleSignOnConfiguration.- Parameters:
autoConfigure-trueto enable auto-configuration,falseto disable
-
getLoginRoute
public String getLoginRoute()
Gets the login-route property.- Returns:
- the login-route property
-
setLoginRoute
public void setLoginRoute(String loginRoute)
Sets the login-route property.- Parameters:
loginRoute- the login-route property
-
getLogoutRedirectRoute
public String getLogoutRedirectRoute()
Gets the logout-redirect route.- Returns:
- the logout-redirect route
-
setLogoutRedirectRoute
public void setLogoutRedirectRoute(String logoutRedirectRoute)
Sets the logout-redirect route.- Parameters:
logoutRedirectRoute- the logout-redirect route
-
isBackChannelLogout
public boolean isBackChannelLogout()
Checks weather Back-Channel logout is enabled.- Returns:
trueif Back-Channel logout is enabled,falseotherwise
-
setBackChannelLogout
public void setBackChannelLogout(boolean backChannelLogout)
Sets is Back-Channel logout is enabled.- Parameters:
backChannelLogout- weather to enable or disable Back-Channel logout
-
getBackChannelLogoutRoute
public String getBackChannelLogoutRoute()
Gets the Back-Channel Logout route.- Returns:
- the Back-Channel Logout route
-
setBackChannelLogoutRoute
public void setBackChannelLogoutRoute(String backchannelLogoutRoute)
Sets the Back-Channel Logout route.- Parameters:
backchannelLogoutRoute- the Back-Channel Logout route
-
getMaximumConcurrentSessions
public int getMaximumConcurrentSessions()
Gets the maximum number of concurrent sessions per user.- Returns:
- the maximum number of concurrent sessions
-
setMaximumConcurrentSessions
public void setMaximumConcurrentSessions(int maximumConcurrentSessions)
Sets maximum number of concurrent sessions per user.- Parameters:
maximumConcurrentSessions- maximum number of concurrent sessions
-
-