addIdentityAssertionFilter( context, service, rootResource );
addDispatchFilter( context, service, rootResource, "dispatch", null );
ResourceDescriptor fileResource = context.getGatewayDescriptor().addResource();
fileResource.role( service.getRole() );
fileResource.pattern( NAMENODE_EXTERNAL_PATH + "/**?**" );
addAuthenticationFilter( context, service, fileResource );
addRewriteFilter( context, service, fileResource );
addIdentityAssertionFilter( context, service, fileResource );
addDispatchFilter( context, service, fileResource, "dispatch", null );
}