Examples of RedbackRuntimeConfiguration


Examples of org.apache.archiva.configuration.RedbackRuntimeConfiguration

        return value;
    }
   
    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;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.