mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
Working login page and user auth configuration
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
|
||||
<tomcat-users>
|
||||
<role rolename="guacamole"/>
|
||||
<user username="guacamole" password="changeme" roles="guacamole"/>
|
||||
</tomcat-users>
|
@@ -18,12 +18,16 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context antiJARLocking="true" path="/guacamole" docBase="/var/lib/guacamole/guacamole.war">
|
||||
|
||||
<!-- Change the lines below to match your Guacamole proxy -->
|
||||
<Parameter name="hostname" value="localhost"/>
|
||||
<Parameter name="port" value="1234"/>
|
||||
<Parameter name="guacd-hostname" value="localhost"/>
|
||||
<Parameter name="guacd-port" value="4822"/>
|
||||
|
||||
<!-- Session provider class (provides and configured guacamole session based on authentication information) -->
|
||||
<Parameter name="session-provider" value="net.sourceforge.guacamole.basic.BasicGuacamoleSessionProvider"/>
|
||||
<Parameter name="basic-user-mapping" value="/path/to/user-mapping.xml"/>
|
||||
|
||||
<Realm className="org.apache.catalina.realm.MemoryRealm" pathname="conf/guacamole-users.xml"/>
|
||||
</Context>
|
||||
|
||||
|
11
guacamole/web-client/doc/example/user-mapping.xml
Normal file
11
guacamole/web-client/doc/example/user-mapping.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<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>
|
||||
|
||||
</user-mapping>
|
Reference in New Issue
Block a user