public void printPolicy ( ) { Util . logPrint ( "Policy:" ) ; if ( model . containsKey ( "p" ) ) { for ( Map . Entry < String , Assertion > entry : model . get ( "p" ) . entrySet ( ) ) { String key = entry . getKey ( ) ; Assertion ast = entry . getValue ( ) ; Util . logPrint ( key + ": " + ast . value + ": " + ast . policy ) ; } } if ( model . containsKey ( "g" ) ) { for ( Map . Entry < String , Assertion > entry : model . get ( "g" ) . entrySet ( ) ) { String key = entry . getKey ( ) ; Assertion ast = entry . getValue ( ) ; Util . logPrint ( key + ": " + ast . value + ": " + ast . policy ) ; } } }
printPolicy prints the policy to log .