Class AuthCacheProperties
java.lang.Object
com.broadleafcommerce.auth.cache.autoconfigure.AuthCacheProperties
Properties that influence cache settings for the auth service
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
Size of the LRUMap cache to use to storeOAuth2IdentityProviders
by the type of authorized client.int
hashCode()
void
setAccountInheritanceLineCacheByAccountId
(Duration accountInheritanceLineCacheByAccountId) void
setAdminUrlByTenantId
(Duration adminUrlByTenantId) void
setAncestorAccountCacheByAccountId
(Duration ancestorAccountCacheByAccountId) void
setApplicationByApplicationId
(Duration applicationByApplicationId) void
setApplicationUrlByApplicationId
(Duration applicationUrlByApplicationId) void
setByAuthClient
(Duration byAuthClient) void
setByScopeNames
(Duration byScopeNames) void
setByScopeNamesPermissions
(Duration byScopeNamesPermissions) void
setByServerId
(Duration byServerId) void
setClientIdentityProviderCacheSize
(int clientIdentityProviderCacheSize) Size of the LRUMap cache to use to storeOAuth2IdentityProviders
by the type of authorized client.void
setDescendantAccountCacheByAccountId
(Duration descendantAccountCacheByAccountId) toString()
-
Constructor Details
-
AuthCacheProperties
public AuthCacheProperties()
-
-
Method Details
-
getByServerId
-
getByScopeNames
-
getByScopeNamesPermissions
-
getApplicationUrlByApplicationId
-
getApplicationByApplicationId
-
getAdminUrlByTenantId
-
getByAuthClient
-
getAncestorAccountCacheByAccountId
-
getDescendantAccountCacheByAccountId
-
getAccountInheritanceLineCacheByAccountId
-
getClientIdentityProviderCacheSize
public int getClientIdentityProviderCacheSize()Size of the LRUMap cache to use to storeOAuth2IdentityProviders
by the type of authorized client. Default is 100. -
setByServerId
-
setByScopeNames
-
setByScopeNamesPermissions
-
setApplicationUrlByApplicationId
-
setApplicationByApplicationId
-
setAdminUrlByTenantId
-
setByAuthClient
-
setAncestorAccountCacheByAccountId
-
setDescendantAccountCacheByAccountId
-
setAccountInheritanceLineCacheByAccountId
public void setAccountInheritanceLineCacheByAccountId(Duration accountInheritanceLineCacheByAccountId) -
setClientIdentityProviderCacheSize
public void setClientIdentityProviderCacheSize(int clientIdentityProviderCacheSize) Size of the LRUMap cache to use to storeOAuth2IdentityProviders
by the type of authorized client. Default is 100. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-