Removed all files now part of other repos, moved default webapp source up
[guacamole.git] / doc / example / user-mapping.xml
diff --git a/doc/example/user-mapping.xml b/doc/example/user-mapping.xml
new file mode 100644 (file)
index 0000000..3c2421e
--- /dev/null
@@ -0,0 +1,23 @@
+<user-mapping>
+       
+       <!-- Per-user authentication and config information -->
+       <authorize username="USERNAME" password="PASSWORD">
+               <protocol>vnc</protocol>
+               <hostname>localhost</hostname>
+               <port>5900</port>
+               <password>VNCPASS</password>
+       </authorize>
+
+    <!-- Another user, but using md5 to hash the password
+         (example below uses the md5 hash of "PASSWORD") -->
+    <authorize 
+            username="USERNAME2"
+            password="319f4d26e3c536b5dd871bb2c52e3178"
+            encoding="md5">
+               <protocol>vnc</protocol>
+               <hostname>localhost</hostname>
+               <port>5901</port>
+               <password>VNCPASS</password>
+       </authorize>
+
+</user-mapping>