urlResourceManager = (URLResourceManager) resourceManager;
}
if ( urlResourceManager == null ) {
throw new IllegalStateException( "Can't find URLResourceManager." );
}
resourceDecisionManagers.add( new URLAccessDecisionManager( urlResourceManager ) );
}
if ( authzManagers == null || authzManagers.isEmpty() ) {
this.authzManagers.add( new DefaultAuthorizationManager( resourceDecisionManagers, resourceManager, votingStrategy, roleDecision ) );
} else {