private void printDestinationPermissions(Map<String, ?> destinationPermissions) {
        Set<String> destinations = destinationPermissions.keySet();
        for (String destination : destinations) {
            SibTr.debug(tc, CLASS_NAME + " Destination: " + destination);
            Permission permission = (Permission) destinationPermissions.get(destination);
            SibTr.debug(tc, "  Users having permissions!!!");
            Map<String, Set<String>> userRoles = permission.getRoleToUserMap();
            Set<String> uRoles = userRoles.keySet();
            for (String role : uRoles) {
                SibTr.debug(tc, "    " + role + ": " + userRoles.get(role));
            }
            SibTr.debug(tc, "  Groups having permissions!!!");
            Map<String, Set<String>> groupRoles = permission
                            .getRoleToGroupMap();
            Set<String> gRoles = groupRoles.keySet();
            for (String role : gRoles) {
                SibTr.debug(tc, "    " + role + ": " + groupRoles.get(role));
            }
        }
    }
private void printDestinationPermissions ( Map < String , ? > destinationPermissions ) { Set < String > destinations = destinationPermissions . keySet ( ) ; for ( String destination : destinations ) { SibTr . debug ( tc , CLASS_NAME + " Destination: " + destination ) ; Permission permission = ( Permission ) destinationPermissions . get ( destination ) ; SibTr . debug ( tc , "  Users having permissions!!!" ) ; Map < String , Set < String > > userRoles = permission . getRoleToUserMap ( ) ; Set < String > uRoles = userRoles . keySet ( ) ; for ( String role : uRoles ) { SibTr . debug ( tc , "    " + role + ": " + userRoles . get ( role ) ) ; } SibTr . debug ( tc , "  Groups having permissions!!!" ) ; Map < String , Set < String > > groupRoles = permission . getRoleToGroupMap ( ) ; Set < String > gRoles = groupRoles . keySet ( ) ; for ( String role : gRoles ) { SibTr . debug ( tc , "    " + role + ": " + groupRoles . get ( role ) ) ; } } }
Print the Destination Permissions, it will be used for debugging purpose