Skip to content

Commit

Permalink
guacamole 0.9.13-incubating support
Browse files Browse the repository at this point in the history
  • Loading branch information
aiden0z committed Aug 16, 2017
1 parent 4bdca31 commit 45b3065
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 19 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'idea'

group = 'com.aiden0z.guacamole-auth-jwt'
version = '1.0.0'
version = '1.0.1'

description = """ guacamole custome authentication based on JSON WEB TOKEN """

Expand All @@ -14,7 +14,7 @@ repositories {
maven { url "http://repo.maven.apache.org/maven2" }
}
dependencies {
compile group: 'org.glyptodon.guacamole', name: 'guacamole-ext', version:'0.9.9'
compile group: 'org.apache.guacamole', name: 'guacamole-ext', version: '0.9.13-incubating'
compile group: 'javax.servlet', name: 'servlet-api', version:'2.5'
compile group: 'com.sun.xml.security', name: 'xml-security-impl', version:'1.0'
compile group: 'com.google.inject', name: 'guice', version: '4.1.0'
Expand All @@ -25,4 +25,3 @@ dependencies {
testCompile 'org.mockito:mockito-core:2.+'

}

1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
rootProject.name = 'guacamole-auth-jwt'

Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.JwtException;
import io.jsonwebtoken.Jwts;
import org.glyptodon.guacamole.GuacamoleException;
import org.glyptodon.guacamole.environment.Environment;
import org.glyptodon.guacamole.properties.StringGuacamoleProperty;
import org.glyptodon.guacamole.protocol.GuacamoleConfiguration;
import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.environment.Environment;
import org.apache.guacamole.properties.StringGuacamoleProperty;
import org.apache.guacamole.protocol.GuacamoleConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import com.google.inject.Guice;
import com.google.inject.Injector;

import org.glyptodon.guacamole.GuacamoleException;
import org.glyptodon.guacamole.environment.Environment;
import org.glyptodon.guacamole.environment.LocalEnvironment;
import org.glyptodon.guacamole.net.auth.Credentials;
import org.glyptodon.guacamole.net.auth.simple.SimpleAuthenticationProvider;
import org.glyptodon.guacamole.protocol.GuacamoleConfiguration;
import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.environment.Environment;
import org.apache.guacamole.environment.LocalEnvironment;
import org.apache.guacamole.net.auth.Credentials;
import org.apache.guacamole.net.auth.simple.SimpleAuthenticationProvider;
import org.apache.guacamole.protocol.GuacamoleConfiguration;

import java.util.Map;

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/guac-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{

"guacamoleVersion" : "0.9.9",
"guacamoleVersion" : "0.9.13-incubating",
"name" : "Jwt Authentication",
"namespace" : "guac-jwt",
"authProviders" : ["com.aiden0z.guacamole.net.jwt.JwtAuthenticationProvider"]

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import io.jsonwebtoken.impl.DefaultClaims;
import org.glyptodon.guacamole.environment.Environment;
import org.glyptodon.guacamole.net.auth.Credentials;
import org.glyptodon.guacamole.protocol.GuacamoleConfiguration;
import org.apache.guacamole.environment.Environment;
import org.apache.guacamole.net.auth.Credentials;
import org.apache.guacamole.protocol.GuacamoleConfiguration;


import javax.servlet.http.HttpServletRequest;
Expand Down

0 comments on commit 45b3065

Please sign in to comment.