public interface EntitlementConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_CACHE_SIZE |
static String |
POLICY_CACHE_SIZE |
static String |
POLICY_EVAL_THREAD_SIZE |
static String |
POLICY_SEARCH_THREAD_SIZE |
Modifier and Type | Method and Description |
---|---|
void |
addSubjectAttributeNames(String application,
Set<String> names)
Adds subject attribute names.
|
Application |
getApplication(String name)
Returns the application with the specified name.
|
Set<Application> |
getApplications()
Returns a set of registered applications.
|
Set<ApplicationType> |
getApplicationTypes()
Returns a set of registered application type.
|
Set<String> |
getConfiguration(String attributeName)
Returns set of attribute values of a given attribute name,
|
int |
getPolicyWindowSize()
Informs us of the size of the policy window set in the configurable options.
|
Set<String> |
getSubjectAttributeNames(String application)
Returns subject attribute names.
|
Map<String,Set<String>> |
getSubjectAttributesCollectorConfiguration(String name)
Returns subject attributes collector configuration.
|
boolean |
hasEntitlementDITs()
Returns
true if OpenAM policy data is migrated to a
form that entitlements service can operates on them. |
boolean |
isMonitoringRunning()
For letting us know whether or not the Agent monitoring is enabled in core.
|
boolean |
networkMonitorEnabled()
Returns
true if the network monitoring for entitlements
is enabled |
void |
reindexApplications()
Reindex Applications.
|
void |
removeApplication(String name)
Removes application.
|
void |
removeApplicationType(String name)
Removes application type.
|
Set<Application> |
searchApplications(Subject subject,
org.forgerock.util.query.QueryFilter<String> queryFilter)
Returns a set of applications for the given search criteria.
|
void |
setNetworkMonitorEnabled(boolean enabled)
Allows the network monitoring to be enabled/disabled
|
void |
setSubjectAttributesCollectorConfiguration(String name,
Map<String,Set<String>> attrMap)
Sets subject attributes collector configuration.
|
void |
storeApplication(Application application)
Stores the application to data store.
|
void |
storeApplicationType(ApplicationType applicationType)
Stores the application type to data store.
|
boolean |
xacmlPrivilegeEnabled()
Returns
true if the system stores privileges in
XACML format and supports exporting privileges in XACML format |
static final String POLICY_EVAL_THREAD_SIZE
static final String POLICY_SEARCH_THREAD_SIZE
static final String POLICY_CACHE_SIZE
static final String INDEX_CACHE_SIZE
Application getApplication(String name)
Set<Application> getApplications()
void removeApplication(String name) throws EntitlementException
name
- name of application to be removed.EntitlementException
- if application cannot be removed.void storeApplication(Application application) throws EntitlementException
application
- Application object.EntitlementException
- if application cannot be stored.Set<ApplicationType> getApplicationTypes()
void removeApplicationType(String name) throws EntitlementException
name
- name of application type to be removed.EntitlementException
- if application type cannot be removed.void storeApplicationType(ApplicationType applicationType) throws EntitlementException
applicationType
- Application type object.EntitlementException
- if application type cannot be stored.Set<String> getConfiguration(String attributeName)
attributeName
- attribute name.Set<String> getSubjectAttributeNames(String application) throws EntitlementException
application
- Application name.EntitlementException
- if subject attribute names cannot be
returned.void addSubjectAttributeNames(String application, Set<String> names) throws EntitlementException
application
- Application name.names
- Set of subject attribute names.EntitlementException
- if subject attribute names cannot be
added.Map<String,Set<String>> getSubjectAttributesCollectorConfiguration(String name) throws EntitlementException
name
- subject attributes collector nameEntitlementException
- if subject attributes collector
configuration cannot be returned.void setSubjectAttributesCollectorConfiguration(String name, Map<String,Set<String>> attrMap) throws EntitlementException
name
- subject attributes collector nameattrMap
- subject attributes collector configuration map.EntitlementException
- if subject attributes collector
configuration cannot be set.boolean hasEntitlementDITs()
true
if OpenAM policy data is migrated to a
form that entitlements service can operates on them.true
if OpenAM policy data is migrated to a
form that entitlements service can operates on them.boolean networkMonitorEnabled()
true
if the network monitoring for entitlements
is enabledtrue
if the network monitoring for entitlements
is enabled.void setNetworkMonitorEnabled(boolean enabled)
enabled
- Is the network monitoring enabledboolean xacmlPrivilegeEnabled()
true
if the system stores privileges in
XACML format and supports exporting privileges in XACML formattrue
if the system stores privileges in
XACML format and supports exporting privileges in XACML formatSet<Application> searchApplications(Subject subject, org.forgerock.util.query.QueryFilter<String> queryFilter) throws EntitlementException
subject
- Admin SubjectqueryFilter
- Query filter.EntitlementException
- if search failed.void reindexApplications()
boolean isMonitoringRunning()
int getPolicyWindowSize()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.