Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/com/dotcms/plugin/saml/v3/cache/SamlCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public abstract class SamlCache implements Cachable
protected static final String INDEX = "index";
protected static final String DISABLED_SITES = "disabled-sites";
protected static final String COUNT = "count";
protected static final String FLAG = "flag";

protected static final String DEFAULT_IDP_CONFIG_GROUP = "Default-Ipd-Config";
protected static final String IDP_CONFIG_GROUP = "Ipd-Config";
Expand All @@ -30,6 +31,7 @@ public abstract class SamlCache implements Cachable
protected static final String DISABLED_SITES_GROUP = "Disabled-Sites";
protected static final String IDP_INDEX_GROUP = "Idp-Index";
protected static final String DISABLED_SITES_INDEX_GROUP = "Disabled-Sites-Index";
protected static final String DISK_HAS_BEEN_READ_GROUP = "Disk-Has-Been-Read";

/**
* Adds a {@link IdpConfig} to the caching structure. Null objects or with empty
Expand Down Expand Up @@ -224,4 +226,8 @@ public String getPrimaryGroup()
* @param idpConfigId - The ID of the {@link IdpConfig} object to cache.
*/
protected abstract void removeSitesIdpConfigId( Map<String, String> sites, String idpConfigId );

public abstract void setIdpConfigRead(Boolean value);

public abstract boolean hasDiskBeenRead();
}
Loading