public void removeSecurityManager ( Password password , String id ) throws PageException { checkWriteAccess ( ) ; ( ( ConfigServerImpl ) ConfigImpl . getConfigServer ( config , password ) ) . removeSecurityManager ( id ) ; Element security = _getRootElement ( "security" ) ; Element [ ] children = XMLConfigWebFactory . getChildren ( security , "accessor" ) ; for ( int i = 0 ; i < children . length ; i ++ ) { if ( id . equals ( children [ i ] . getAttribute ( "id" ) ) ) { security . removeChild ( children [ i ] ) ; } } }
remove security manager matching given id