Class Pac4jDelegatedAuthenticationCoreProperties

java.lang.Object
org.apereo.cas.configuration.model.support.pac4j.Pac4jDelegatedAuthenticationCoreProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-pac4j-webflow") public class Pac4jDelegatedAuthenticationCoreProperties extends Object implements Serializable
Since:
6.4.0
See Also:
  • Constructor Details

    • Pac4jDelegatedAuthenticationCoreProperties

      public Pac4jDelegatedAuthenticationCoreProperties()
  • Method Details

    • isTypedIdUsed

      public boolean isTypedIdUsed()
      When constructing the final user profile from the delegated provider, determines if the provider id should be combined with the principal id.
    • getPrincipalIdAttribute

      public String getPrincipalIdAttribute()
      The attribute to use as the principal identifier built during and upon a successful authentication attempt.
    • isLazyInit

      public boolean isLazyInit()
      Whether initialization of delegated identity providers should be done eagerly typically during startup.
    • getName

      public String getName()
      The name of the authentication handler in CAS used for delegation.
    • getOrder

      public Integer getOrder()
      Order of the authentication handler in the chain.
    • getCacheDuration

      public String getCacheDuration()
      Control the expiration policy of the cache that holds onto the results.
    • getCacheSize

      public long getCacheSize()
      Control the size of the delegated identity provider cache that holds identity providers.

      This setting specifies the maximum number of entries the cache may contain. Note that the cache may evict an entry before this limit is exceeded or temporarily exceed the threshold while evicting. As the cache size grows close to the maximum, the cache evicts entries that are less likely to be used again. For example, the cache may evict an entry because it hasn't been used recently or very often.

    • getSessionReplication

      public SessionReplicationProperties getSessionReplication()
      Control settings for session replication.
    • getGroovyRedirectionStrategy

      public SpringResourceProperties getGroovyRedirectionStrategy()
      Path to a groovy script to determine the auto-redirection strategy to identity providers.
    • getGroovyProviderPostProcessor

      public SpringResourceProperties getGroovyProviderPostProcessor()
      Path to a groovy script to post-process identity providers before they are presented to the user.
    • getGroovyAuthenticationRequestCustomizer

      public SpringResourceProperties getGroovyAuthenticationRequestCustomizer()
      Path to a groovy script to customize the authentication request and the configuration responsible for it before the request is handed off to the identity provider.
    • getDiscoverySelection

      Discovery selection settings.
    • setTypedIdUsed

      public Pac4jDelegatedAuthenticationCoreProperties setTypedIdUsed(boolean typedIdUsed)
      When constructing the final user profile from the delegated provider, determines if the provider id should be combined with the principal id.
      Returns:
      this.
    • setPrincipalIdAttribute

      public Pac4jDelegatedAuthenticationCoreProperties setPrincipalIdAttribute(String principalIdAttribute)
      The attribute to use as the principal identifier built during and upon a successful authentication attempt.
      Returns:
      this.
    • setLazyInit

      public Pac4jDelegatedAuthenticationCoreProperties setLazyInit(boolean lazyInit)
      Whether initialization of delegated identity providers should be done eagerly typically during startup.
      Returns:
      this.
    • setName

      The name of the authentication handler in CAS used for delegation.
      Returns:
      this.
    • setOrder

      Order of the authentication handler in the chain.
      Returns:
      this.
    • setCacheDuration

      public Pac4jDelegatedAuthenticationCoreProperties setCacheDuration(String cacheDuration)
      Control the expiration policy of the cache that holds onto the results.
      Returns:
      this.
    • setCacheSize

      public Pac4jDelegatedAuthenticationCoreProperties setCacheSize(long cacheSize)
      Control the size of the delegated identity provider cache that holds identity providers.

      This setting specifies the maximum number of entries the cache may contain. Note that the cache may evict an entry before this limit is exceeded or temporarily exceed the threshold while evicting. As the cache size grows close to the maximum, the cache evicts entries that are less likely to be used again. For example, the cache may evict an entry because it hasn't been used recently or very often.

      Returns:
      this.
    • setSessionReplication

      public Pac4jDelegatedAuthenticationCoreProperties setSessionReplication(SessionReplicationProperties sessionReplication)
      Control settings for session replication.
      Returns:
      this.
    • setGroovyRedirectionStrategy

      public Pac4jDelegatedAuthenticationCoreProperties setGroovyRedirectionStrategy(SpringResourceProperties groovyRedirectionStrategy)
      Path to a groovy script to determine the auto-redirection strategy to identity providers.
      Returns:
      this.
    • setGroovyProviderPostProcessor

      public Pac4jDelegatedAuthenticationCoreProperties setGroovyProviderPostProcessor(SpringResourceProperties groovyProviderPostProcessor)
      Path to a groovy script to post-process identity providers before they are presented to the user.
      Returns:
      this.
    • setGroovyAuthenticationRequestCustomizer

      public Pac4jDelegatedAuthenticationCoreProperties setGroovyAuthenticationRequestCustomizer(SpringResourceProperties groovyAuthenticationRequestCustomizer)
      Path to a groovy script to customize the authentication request and the configuration responsible for it before the request is handed off to the identity provider.
      Returns:
      this.
    • setDiscoverySelection

      Discovery selection settings.
      Returns:
      this.