Class CrestSessionService.Builder

    • Method Detail

      • sessionProperties

        public CrestSessionService.Builder sessionProperties​(Set<String> sessionProperties)
        Set the session properties on this Builder. These will be transformed in to properties before being used in the sessionInfo request.
        Parameters:
        sessionProperties - The session properties to request from the session info endpoint.
        Returns:
        this Builder
      • sessionCaching

        public CrestSessionService.Builder sessionCaching​(boolean sessionCaching)
        Setting this to true indicates that session caching is enabled.
        Parameters:
        sessionCaching - Set to true to indicate that session caching is enabled.
        Returns:
        this Builder
      • sessionIdleRefreshEnabled

        public CrestSessionService.Builder sessionIdleRefreshEnabled​(boolean sessionIdleRefreshEnabled)
        Setting this to true indicates that session idle refresh is enabled.
        Parameters:
        sessionIdleRefreshEnabled - Set to true to indicate that session idle refresh is enabled.
        Returns:
        this Builder
      • sessionIdleRefreshInterval

        public CrestSessionService.Builder sessionIdleRefreshInterval​(Duration interval)
        Set the session idle refresh interval. Wait at least this long between sessionInfo requests before triggering a session idle refresh.
        Parameters:
        interval - Set the session idle refresh interval.
        Returns:
        this Builder.