GUACAMOLE-1391 Add support for hashing passwords with SHA-256 in user-mapping.xml
This commit is contained in:
1 parent
806b50e3cd
commit
b4f75abdb7
3 files changed
+41
-4
No files matched your search
@@ -35,7 +35,7 @@
|
||||
encoding="md5">
|
||||
|
||||
<!-- First authorized connection -->
|
||||
<connection name="localhost">
|
||||
<connection name="localhost">
|
||||
<protocol>vnc</protocol>
|
||||
<param name="hostname">localhost</param>
|
||||
<param name="port">5901</param>
|
||||
@@ -43,13 +43,28 @@
|
||||
</connection>
|
||||
|
||||
<!-- Second authorized connection -->
|
||||
<connection name="otherhost">
|
||||
<connection name="otherhost">
|
||||
<protocol>vnc</protocol>
|
||||
<param name="hostname">otherhost</param>
|
||||
<param name="port">5900</param>
|
||||
<param name="password">VNCPASS</param>
|
||||
</connection>
|
||||
|
||||
</authorize>
|
||||
</authorize>
|
||||
|
||||
<!-- Another user, but using SHA-256 to hash the password -->
|
||||
<authorize
|
||||
username="USERNAME3"
|
||||
password="5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
|
||||
encoding="sha256">
|
||||
|
||||
<connection name="localhost">
|
||||
<protocol>vnc</protocol>
|
||||
<param name="hostname">localhost</param>
|
||||
<param name="port">5900</param>
|
||||
<param name="password">VNCPASS</param>
|
||||
</connection>
|
||||
|
||||
</authorize>
|
||||
|
||||
</user-mapping>
|
||||
Reference in new issue
Block a user