Class MongoDbTicketRegistryProperties

java.lang.Object
org.apereo.cas.configuration.model.support.mongo.BaseMongoDbProperties
org.apereo.cas.configuration.model.support.mongo.ticketregistry.MongoDbTicketRegistryProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-mongo-ticket-registry") public class MongoDbTicketRegistryProperties extends BaseMongoDbProperties
Since:
5.1.0
See Also:
  • Constructor Details

    • MongoDbTicketRegistryProperties

      public MongoDbTicketRegistryProperties()
  • Method Details

    • isDropCollection

      public boolean isDropCollection()
      Whether collections should be dropped on startup and re-created.
    • isUpdateIndexes

      public boolean isUpdateIndexes()
      Whether CAS should attempt to create/update indexes automatically and figure out the differences between existing keys and new keys.
    • isDropIndexes

      public boolean isDropIndexes()
      When updating/creating indexes, decide if existing indexes should all be dropped once prior to creating/updating indexes. This may be useful to avoid conflicts between old and new indexes, in scenarios where CAS may be unable to locate the proper difference in index options or names during upgrades..
    • getCrypto

      Crypto settings for the registry.
    • setDropCollection

      public MongoDbTicketRegistryProperties setDropCollection(boolean dropCollection)
      Whether collections should be dropped on startup and re-created.
      Returns:
      this.
    • setUpdateIndexes

      public MongoDbTicketRegistryProperties setUpdateIndexes(boolean updateIndexes)
      Whether CAS should attempt to create/update indexes automatically and figure out the differences between existing keys and new keys.
      Returns:
      this.
    • setDropIndexes

      public MongoDbTicketRegistryProperties setDropIndexes(boolean dropIndexes)
      When updating/creating indexes, decide if existing indexes should all be dropped once prior to creating/updating indexes. This may be useful to avoid conflicts between old and new indexes, in scenarios where CAS may be unable to locate the proper difference in index options or names during upgrades..
      Returns:
      this.
    • setCrypto

      Crypto settings for the registry.
      Returns:
      this.