}
resourceDecisionManagers.add( new URLAccessDecisionManager( urlResourceManager ) );
}
if ( authzManagers == null || authzManagers.isEmpty() ) {
this.authzManagers.add( new DefaultAuthorizationManager( resourceDecisionManagers, resourceManager, votingStrategy, roleDecision ) );
} else {
for ( final AuthorizationManager authzManager : authzManagers ) {
try {
final Method method = authzManager.getClass().getMethod( "addDecisionManagers", Collection.class );
method.invoke( authzManager, resourceDecisionManagers );