Class 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 Detail

      • SingleSignOnProperties

        public SingleSignOnProperties()
    • Method Detail

      • isAutoConfigure

        public boolean isAutoConfigure()
        Checks is auto-configuration of SingleSignOnConfiguration is enabled.
        Returns:
        true, if auto-configuration is enabled
      • setAutoConfigure

        public void setAutoConfigure​(boolean autoConfigure)
        Enables or disables auto-configuration of SingleSignOnConfiguration.
        Parameters:
        autoConfigure - true to enable auto-configuration, false to 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:
        true if Back-Channel logout is enabled, false otherwise
      • 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