mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Move NoAuthenticationProvider under extensions/
New auth providers shouldn't go in guacamole-ext, which is strictly the API used by extensions to Guacamole. Instead this should be a separate project like "guacamole-auth-noauth", and should go under extensions/.
This commit is contained in:
committed by
Michael Jumper
parent
b3e3855fd1
commit
f1f2e04860
1
extensions/guacamole-auth-noauth/.gitignore
vendored
Normal file
1
extensions/guacamole-auth-noauth/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
target/
|
57
extensions/guacamole-auth-noauth/README.rst
Normal file
57
extensions/guacamole-auth-noauth/README.rst
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
guacamole-noauth
|
||||||
|
================
|
||||||
|
|
||||||
|
Remove login screen from the `Guacamole <http://guac-dev.org/>`_ web interface.
|
||||||
|
|
||||||
|
Build
|
||||||
|
-----
|
||||||
|
|
||||||
|
- Download
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
git clone http://git.deltalima.net/guacamole-noauth/
|
||||||
|
|
||||||
|
- Compile
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
cd extensions/guacamole-auth-noauth/
|
||||||
|
mvn package
|
||||||
|
|
||||||
|
These will create a new jar file `guacamole-noauth-VERSION.jar` in the
|
||||||
|
`target/` folder.
|
||||||
|
|
||||||
|
|
||||||
|
Install
|
||||||
|
-------
|
||||||
|
|
||||||
|
- Copy `guacamole-noauth-VERSION.jar` in `webapps/guacamole/WEB-INF/lib/`. It
|
||||||
|
does not work if you copy the jar in `common/lib/` or `shared/lib/`.
|
||||||
|
|
||||||
|
Configure
|
||||||
|
---------
|
||||||
|
|
||||||
|
- Edit the Guacamole configuration file (`/etc/guacamole/guacamole.properties`):
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
# Hostname and port of guacamole proxy
|
||||||
|
guacd-hostname: localhost
|
||||||
|
guacd-port: 4822
|
||||||
|
|
||||||
|
auth-provider: net.sourceforge.guacamole.net.auth.noauth.NoAuthenticationProvider
|
||||||
|
noauth-config: /etc/guacamole/noauth-config.xml
|
||||||
|
|
||||||
|
- Create a new file `/etc/gacamole/noauth-config.xml`:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
<configs>
|
||||||
|
<config name="my-rdp-server" protocol="rdp">
|
||||||
|
<param name="hostname" value="my-rdp-server-hostname" />
|
||||||
|
<param name="port" value="3389" />
|
||||||
|
</config>
|
||||||
|
</configs>
|
||||||
|
|
||||||
|
- Restart Tomcat
|
@@ -0,0 +1,6 @@
|
|||||||
|
<configs>
|
||||||
|
<config name="myconfig" protocol="rdp">
|
||||||
|
<param name="hostname" value="rdp-server" />
|
||||||
|
<param name="port" value="3389" />
|
||||||
|
</config>
|
||||||
|
</configs>
|
@@ -0,0 +1,4 @@
|
|||||||
|
# Add these two lines to your guacamole.properties file
|
||||||
|
|
||||||
|
auth-provider: net.sourceforge.guacamole.net.auth.noauth.NoAuthenticationProvider
|
||||||
|
noauth-config: /etc/guacamole/noauth-config.xml
|
67
extensions/guacamole-auth-noauth/pom.xml
Normal file
67
extensions/guacamole-auth-noauth/pom.xml
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>net.deltalima.guacamole</groupId>
|
||||||
|
<artifactId>guacamole-noauth</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<version>0.8.0</version>
|
||||||
|
<name>guacamole-noauth</name>
|
||||||
|
<url>http://guacamole.sourceforge.net/</url>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<!-- Written for 1.6 -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<source>1.6</source>
|
||||||
|
<target>1.6</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<!-- SLF4J - logging -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.slf4j</groupId>
|
||||||
|
<artifactId>slf4j-api</artifactId>
|
||||||
|
<version>1.6.1</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.slf4j</groupId>
|
||||||
|
<artifactId>slf4j-jcl</artifactId>
|
||||||
|
<version>1.6.1</version>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Guacamole Java API -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.sourceforge.guacamole</groupId>
|
||||||
|
<artifactId>guacamole-common</artifactId>
|
||||||
|
<version>0.8.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Guacamole Extension API -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.sourceforge.guacamole</groupId>
|
||||||
|
<artifactId>guacamole-ext</artifactId>
|
||||||
|
<version>0.8.0</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<!-- Central Guacamole repository -->
|
||||||
|
<repository>
|
||||||
|
<id>guac-dev</id>
|
||||||
|
<url>http://guac-dev.org/repo</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
</project>
|
Reference in New Issue
Block a user