Package org.gluu.oxtrust.action
Class ConfigureCacheRefreshAction
java.lang.Object
org.gluu.oxtrust.action.ConfigureCacheRefreshAction
- All Implemented Interfaces:
Serializable,LdapConfigurationModel,SimpleCustomPropertiesListModel,SimplePropertiesListModel
@Named("configureCacheRefreshAction")
@ConversationScoped
@Secure("#{permissionService.hasPermission(\'configuration\', \'access\')}")
public class ConfigureCacheRefreshAction
extends Object
implements SimplePropertiesListModel, SimpleCustomPropertiesListModel, LdapConfigurationModel, Serializable
Action class for configuring cache refresh
- Author:
- Yuriy Movchan Date: 07.26.2011
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemToSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties) voidaddItemToSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties) voidaddLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList) voidcancel()voidbooleancheckDuplicateAttribute(List<org.gluu.model.SimpleProperty> attributes) booleanorg.gluu.model.ldap.GluuLdapConfigurationList<org.gluu.model.SimpleCustomProperty> org.gluu.config.oxtrust.CacheRefreshConfigurationintorg.gluu.model.ldap.GluuLdapConfigurationList<org.gluu.model.SimpleProperty> List<org.gluu.model.SimpleProperty> List<org.gluu.model.SimpleProperty> List<org.gluu.model.ldap.GluuLdapConfiguration> org.gluu.model.ldap.GluuLdapConfigurationvoidinit()booleanbooleanbooleanvoidremoveItemFromSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty) voidremoveItemFromSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty) voidremoveLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig) voidsetActiveLdapConfig(org.gluu.model.ldap.GluuLdapConfiguration activeLdapConfig) voidsetConfiguration(GluuConfiguration configuration) voidsetUpdateMethod(CacheRefreshUpdateMethod updateMethod) testLdapConnection(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig) update()voidvoidvoidvalidateProperty(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent comp, Object value)
-
Constructor Details
-
ConfigureCacheRefreshAction
public ConfigureCacheRefreshAction()
-
-
Method Details
-
getConfiguration
-
setConfiguration
-
init
-
update
-
updateImpl
-
cancel
-
isCacheRefreshEnabled
public boolean isCacheRefreshEnabled() -
getCacheRefreshEnabledIntervalMinutes
public int getCacheRefreshEnabledIntervalMinutes() -
addSourceConfig
public void addSourceConfig() -
getSourceConfigs
-
getInumConfig
public org.gluu.model.ldap.GluuLdapConfiguration getInumConfig() -
getTargetConfig
public org.gluu.model.ldap.GluuLdapConfiguration getTargetConfig() -
getCacheRefreshConfig
public org.gluu.config.oxtrust.CacheRefreshConfiguration getCacheRefreshConfig() -
getAllCacheRefreshUpdateMethods
-
validateInterceptorScript
public void validateInterceptorScript() -
getInterceptorValidationMessage
-
isShowInterceptorValidationDialog
public boolean isShowInterceptorValidationDialog() -
hideShowInterceptorValidationDialog
public void hideShowInterceptorValidationDialog() -
isInitialized
public boolean isInitialized() -
addItemToSimpleProperties
- Specified by:
addItemToSimplePropertiesin interfaceSimplePropertiesListModel
-
removeItemFromSimpleProperties
public void removeItemFromSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty) - Specified by:
removeItemFromSimplePropertiesin interfaceSimplePropertiesListModel
-
addItemToSimpleCustomProperties
public void addItemToSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties) - Specified by:
addItemToSimpleCustomPropertiesin interfaceSimpleCustomPropertiesListModel
-
removeItemFromSimpleCustomProperties
public void removeItemFromSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty) - Specified by:
removeItemFromSimpleCustomPropertiesin interfaceSimpleCustomPropertiesListModel
-
getActiveLdapConfig
public org.gluu.model.ldap.GluuLdapConfiguration getActiveLdapConfig() -
updateBindPassword
public void updateBindPassword() -
cancelBindPassword
public void cancelBindPassword() -
setActiveLdapConfig
public void setActiveLdapConfig(org.gluu.model.ldap.GluuLdapConfiguration activeLdapConfig) - Specified by:
setActiveLdapConfigin interfaceLdapConfigurationModel
-
addLdapConfig
- Specified by:
addLdapConfigin interfaceLdapConfigurationModel
-
removeLdapConfig
public void removeLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig) - Specified by:
removeLdapConfigin interfaceLdapConfigurationModel
-
getUpdateMethod
-
setUpdateMethod
-
getKeyAttributes
-
getKeyObjectClasses
-
getSourceAttributes
-
getAttributeMapping
-
validateProperty
public void validateProperty(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent comp, Object value) -
checkDuplicateAttribute
-
checkDuplicateKeyAttribute
public boolean checkDuplicateKeyAttribute() -
testLdapConnection
-