assertThat( hiveService, notNullValue() );
assertThat( hiveService.getRole(), is( "HIVE" ) );
assertThat( hiveService.getName(), nullValue() );
assertThat( hiveService.getUrl(), is( "http://host:10000" ) );
Provider authenticationProvider = topology.getProvider( "authentication", "ShiroProvider" );
assertThat( authenticationProvider, notNullValue() );
assertThat( authenticationProvider.isEnabled(), is( true ) );
assertThat( authenticationProvider.getRole(), is( "authentication" ) );
assertThat( authenticationProvider.getName(), is( "ShiroProvider" ) );
assertThat( authenticationProvider.getParams().size(), is( 5 ) );
assertThat( authenticationProvider.getParams().get("main.ldapRealm.contextFactory.url"), is( "ldap://localhost:33389" ) );
Provider identityAssertionProvider = topology.getProvider( "identity-assertion", "Pseudo" );
assertThat( identityAssertionProvider, notNullValue() );
assertThat( identityAssertionProvider.isEnabled(), is( false ) );
assertThat( identityAssertionProvider.getRole(), is( "identity-assertion" ) );
assertThat( identityAssertionProvider.getName(), is( "Pseudo" ) );
assertThat( identityAssertionProvider.getParams().size(), is( 2 ) );
assertThat( identityAssertionProvider.getParams().get("name"), is( "user.name" ) );
}