private void aggregate ( ArrayList < Privilege > list , Privilege p ) { list . add ( p ) ; if ( p . isAggregate ( ) ) { for ( Privilege ap : p . getDeclaredAggregatePrivileges ( ) ) { aggregate ( list , ap ) ; } } }
Recursively aggregates privileges for the given privilege .