whiteListPatterns.addAll( registry.getList( prefix + "whiteListPatterns.whiteListPattern" ) ); value.setWhiteListPatterns( whiteListPatterns ); java.util.Map policies = registry.getProperties( prefix + "policies" ); value.setPolicies( policies ); java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() );
whiteListPatterns.addAll( registry.getList( prefix + "whiteListPatterns.whiteListPattern" ) ); value.setWhiteListPatterns( whiteListPatterns ); java.util.Map policies = registry.getProperties( prefix + "policies" ); value.setPolicies( policies ); java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() );
whiteListPatterns.addAll( registry.getList( prefix + "whiteListPatterns.whiteListPattern" ) ); value.setWhiteListPatterns( whiteListPatterns ); java.util.Map policies = registry.getProperties( prefix + "policies" ); value.setPolicies( policies ); java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() );
whiteListPatterns.addAll( registry.getList( prefix + "whiteListPatterns.whiteListPattern" ) ); value.setWhiteListPatterns( whiteListPatterns ); java.util.Map policies = registry.getProperties( prefix + "policies" ); value.setPolicies( policies ); java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() );
whiteListPatterns.addAll( registry.getList( prefix + "whiteListPatterns.whiteListPattern" ) ); value.setWhiteListPatterns( whiteListPatterns ); java.util.Map policies = registry.getProperties( prefix + "policies" ); value.setPolicies( policies ); java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() );
whiteListPatterns.addAll( registry.getList( prefix + "whiteListPatterns.whiteListPattern" ) ); value.setWhiteListPatterns( whiteListPatterns ); java.util.Map policies = registry.getProperties( prefix + "policies" ); value.setPolicies( policies ); java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() );
boolean useRoleNameAsGroup = registry.getBoolean( prefix + "useRoleNameAsGroup", value.isUseRoleNameAsGroup() ); value.setUseRoleNameAsGroup( useRoleNameAsGroup ); java.util.Map extraProperties = registry.getProperties( prefix + "extraProperties" ); value.setExtraProperties( extraProperties );
boolean downloadRemoteIndexOnStartup = registry.getBoolean( prefix + "downloadRemoteIndexOnStartup", value.isDownloadRemoteIndexOnStartup() ); value.setDownloadRemoteIndexOnStartup( downloadRemoteIndexOnStartup ); java.util.Map extraParameters = registry.getProperties( prefix + "extraParameters" ); value.setExtraParameters( extraParameters ); java.util.Map extraHeaders = registry.getProperties( prefix + "extraHeaders" ); value.setExtraHeaders( extraHeaders );
private RedbackRuntimeConfiguration readRedbackRuntimeConfiguration( String prefix, Registry registry ) { RedbackRuntimeConfiguration value = new RedbackRuntimeConfiguration(); boolean migratedFromRedbackConfiguration = registry.getBoolean( prefix + "migratedFromRedbackConfiguration", value.isMigratedFromRedbackConfiguration() ); value.setMigratedFromRedbackConfiguration( migratedFromRedbackConfiguration ); java.util.List userManagerImpls = new java.util.ArrayList/*<String>*/(); userManagerImpls.addAll( registry.getList( prefix + "userManagerImpls.userManagerImpl" ) ); value.setUserManagerImpls( userManagerImpls ); java.util.List rbacManagerImpls = new java.util.ArrayList/*<String>*/(); rbacManagerImpls.addAll( registry.getList( prefix + "rbacManagerImpls.rbacManagerImpl" ) ); value.setRbacManagerImpls( rbacManagerImpls ); LdapConfiguration ldapConfiguration = readLdapConfiguration( prefix + "ldapConfiguration.", registry ); value.setLdapConfiguration( ldapConfiguration ); java.util.List ldapGroupMappings = new java.util.ArrayList/*<LdapGroupMapping>*/(); List ldapGroupMappingsSubsets = registry.getSubsetList( prefix + "ldapGroupMappings.ldapGroupMapping" ); for ( Iterator i = ldapGroupMappingsSubsets.iterator(); i.hasNext(); ) { LdapGroupMapping v = readLdapGroupMapping( "", (Registry) i.next() ); ldapGroupMappings.add( v ); } value.setLdapGroupMappings( ldapGroupMappings ); java.util.Map configurationProperties = registry.getProperties( prefix + "configurationProperties" ); value.setConfigurationProperties( configurationProperties ); boolean useUsersCache = registry.getBoolean( prefix + "useUsersCache", value.isUseUsersCache() ); value.setUseUsersCache( useUsersCache ); CacheConfiguration usersCacheConfiguration = readCacheConfiguration( prefix + "usersCacheConfiguration.", registry ); value.setUsersCacheConfiguration( usersCacheConfiguration ); return value; }
boolean useRoleNameAsGroup = registry.getBoolean( prefix + "useRoleNameAsGroup", value.isUseRoleNameAsGroup() ); value.setUseRoleNameAsGroup( useRoleNameAsGroup ); java.util.Map extraProperties = registry.getProperties( prefix + "extraProperties" ); value.setExtraProperties( extraProperties );
boolean downloadRemoteIndexOnStartup = registry.getBoolean( prefix + "downloadRemoteIndexOnStartup", value.isDownloadRemoteIndexOnStartup() ); value.setDownloadRemoteIndexOnStartup( downloadRemoteIndexOnStartup ); java.util.Map extraParameters = registry.getProperties( prefix + "extraParameters" ); value.setExtraParameters( extraParameters ); java.util.Map extraHeaders = registry.getProperties( prefix + "extraHeaders" ); value.setExtraHeaders( extraHeaders );
private RedbackRuntimeConfiguration readRedbackRuntimeConfiguration( String prefix, Registry registry ) { RedbackRuntimeConfiguration value = new RedbackRuntimeConfiguration(); boolean migratedFromRedbackConfiguration = registry.getBoolean( prefix + "migratedFromRedbackConfiguration", value.isMigratedFromRedbackConfiguration() ); value.setMigratedFromRedbackConfiguration( migratedFromRedbackConfiguration ); java.util.List userManagerImpls = new java.util.ArrayList/*<String>*/(); userManagerImpls.addAll( registry.getList( prefix + "userManagerImpls.userManagerImpl" ) ); value.setUserManagerImpls( userManagerImpls ); java.util.List rbacManagerImpls = new java.util.ArrayList/*<String>*/(); rbacManagerImpls.addAll( registry.getList( prefix + "rbacManagerImpls.rbacManagerImpl" ) ); value.setRbacManagerImpls( rbacManagerImpls ); LdapConfiguration ldapConfiguration = readLdapConfiguration( prefix + "ldapConfiguration.", registry ); value.setLdapConfiguration( ldapConfiguration ); java.util.List ldapGroupMappings = new java.util.ArrayList/*<LdapGroupMapping>*/(); List ldapGroupMappingsSubsets = registry.getSubsetList( prefix + "ldapGroupMappings.ldapGroupMapping" ); for ( Iterator i = ldapGroupMappingsSubsets.iterator(); i.hasNext(); ) { LdapGroupMapping v = readLdapGroupMapping( "", (Registry) i.next() ); ldapGroupMappings.add( v ); } value.setLdapGroupMappings( ldapGroupMappings ); java.util.Map configurationProperties = registry.getProperties( prefix + "configurationProperties" ); value.setConfigurationProperties( configurationProperties ); boolean useUsersCache = registry.getBoolean( prefix + "useUsersCache", value.isUseUsersCache() ); value.setUseUsersCache( useUsersCache ); CacheConfiguration usersCacheConfiguration = readCacheConfiguration( prefix + "usersCacheConfiguration.", registry ); value.setUsersCacheConfiguration( usersCacheConfiguration ); return value; }