service.setUrl( "http://localhost:50070/webhdfs" );
topology.addService( service );
Provider provider = new Provider();
provider.setRole( "authentication" );
provider.setEnabled( true );
ProviderParam param = new ProviderParam();
param.setName( "contextConfigLocation" );
param.setValue( "classpath:app-context-security.xml" );
provider.addParam( param );
topology.addProvider( provider );
Provider asserter = new Provider();
asserter.setRole( "identity-assertion" );
asserter.setName("Pseudo");