Class AccessTokenServiceInternalImpl

java.lang.Object
org.springframework.web.util.CookieGenerator
org.craftercms.studio.impl.v2.service.security.internal.AccessTokenServiceInternalImpl
All Implemented Interfaces:
AccessTokenServiceInternal, org.springframework.beans.factory.InitializingBean

public class AccessTokenServiceInternalImpl extends org.springframework.web.util.CookieGenerator implements AccessTokenServiceInternal, org.springframework.beans.factory.InitializingBean
Default implementation of AccessTokenServiceInternal
Since:
4.0
Author:
joseross
  • Field Details

    • ACTIVITY_CACHE_CONFIG_KEY

      public static final String ACTIVITY_CACHE_CONFIG_KEY
      See Also:
    • issuer

      protected String issuer
      The issuer for generation access tokens
    • validIssuers

      protected String[] validIssuers
      List of accepted issuers for validation of access tokens
    • audience

      protected String audience
      The audience for generation and validation of access tokens
    • accessTokenExpiration

      protected int accessTokenExpiration
      The time in minutes for the expiration of the generated access tokens
    • signPassword

      protected String signPassword
      The password for signing the access tokens
    • encryptPassword

      protected String encryptPassword
      The password for encrypting the access tokens
    • sessionTimeout

      protected int sessionTimeout
      Time in minutes after which active users will be required to login again
    • inactivityTimeout

      protected int inactivityTimeout
      Time in minutes after which inactive users will be required to login again
    • userActivity

      protected com.google.common.cache.Cache<Long,Instant> userActivity
      Cache used to track the activity of the users
    • jwtSignKey

      protected Key jwtSignKey
    • jwtEncryptKey

      protected Key jwtEncryptKey
    • securityDao

      protected SecurityDAO securityDao
    • instanceService

      protected InstanceService instanceService
    • auditService

      protected AuditServiceInternal auditService
    • studioConfiguration

      protected StudioConfiguration studioConfiguration
    • siteService

      protected SiteService siteService
    • retryingDatabaseOperationFacade

      protected RetryingDatabaseOperationFacade retryingDatabaseOperationFacade
    • systemStatusProvider

      protected SystemStatusProvider systemStatusProvider
  • Constructor Details

  • Method Details