Package org.apache.archiva.rest.api.model

Examples of org.apache.archiva.rest.api.model.UserManagerImplementationInformation


        for ( Map.Entry<String, UserManager> entry : beans.entrySet() )
        {
            UserManager userManager = applicationContext.getBean( entry.getKey(), UserManager.class );
            if ( userManager.isFinalImplementation() )
            {
                UserManagerImplementationInformation information = new UserManagerImplementationInformation();
                information.setBeanId( StringUtils.substringAfter( entry.getKey(), "#" ) );
                information.setDescriptionKey( userManager.getDescriptionKey() );
                information.setReadOnly( userManager.isReadOnly() );
                informations.add( information );
            }
        }

        return informations;
View Full Code Here


        throws Exception
    {
        RedbackRuntimeConfigurationService service = getRedbackRuntimeConfigurationService();
        List<UserManagerImplementationInformation> infos = service.getUserManagerImplementationInformations();
        assertThat( infos ).isNotNull().isNotEmpty().contains(
            new UserManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

        for ( Map.Entry<String, UserManager> entry : beans.entrySet() )
        {
            UserManager userManager = applicationContext.getBean( entry.getKey(), UserManager.class );
            if ( userManager.isFinalImplementation() )
            {
                UserManagerImplementationInformation information = new UserManagerImplementationInformation();
                information.setBeanId( StringUtils.substringAfter( entry.getKey(), "#" ) );
                information.setDescriptionKey( userManager.getDescriptionKey() );
                information.setReadOnly( userManager.isReadOnly() );
                informations.add( information );
            }
        }

        return informations;
View Full Code Here

        throws Exception
    {
        RedbackRuntimeConfigurationService service = getRedbackRuntimeConfigurationService();
        List<UserManagerImplementationInformation> infos = service.getUserManagerImplementationInformations();
        Assertions.assertThat( infos ).isNotNull().isNotEmpty().contains(
            new UserManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

        for ( Map.Entry<String, UserManager> entry : beans.entrySet() )
        {
            UserManager userManager = applicationContext.getBean( entry.getKey(), UserManager.class );
            if ( userManager.isFinalImplementation() )
            {
                UserManagerImplementationInformation information = new UserManagerImplementationInformation();
                information.setBeanId( StringUtils.substringAfter( entry.getKey(), "#" ) );
                information.setDescriptionKey( userManager.getDescriptionKey() );
                information.setReadOnly( userManager.isReadOnly() );
                informations.add( information );
            }
        }

        return informations;
View Full Code Here

        throws Exception
    {
        RedbackRuntimeConfigurationService service = getArchivaRuntimeConfigurationService();
        List<UserManagerImplementationInformation> infos = service.getUserManagerImplementationInformations();
        Assertions.assertThat( infos ).isNotNull().isNotEmpty().contains(
            new UserManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

TOP

Related Classes of org.apache.archiva.rest.api.model.UserManagerImplementationInformation

Copyright © 2018 www.massapicom. 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.