GUACAMOLE-526: Clean up unused code and minor errors.

This commit is contained in:
Nick Couchman
2018-12-04 19:16:57 -05:00
parent df8c07c187
commit 29982e3a85
3 changed files with 1 additions and 8 deletions

View File

@@ -20,7 +20,6 @@
package org.apache.guacamole.auth.cas.conf; package org.apache.guacamole.auth.cas.conf;
import com.google.inject.Inject; import com.google.inject.Inject;
import java.io.File;
import java.security.PrivateKey; import java.security.PrivateKey;
import org.apache.guacamole.GuacamoleException; import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.environment.Environment; import org.apache.guacamole.environment.Environment;

View File

@@ -23,10 +23,7 @@ import java.io.ByteArrayOutputStream;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.IOException; import java.io.IOException;
import java.lang.IllegalArgumentException;
import java.security.InvalidKeyException;
import java.security.KeyFactory; import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey; import java.security.PrivateKey;
@@ -35,8 +32,6 @@ import java.security.spec.KeySpec;
import java.security.spec.PKCS8EncodedKeySpec; import java.security.spec.PKCS8EncodedKeySpec;
import org.apache.guacamole.properties.GuacamoleProperty; import org.apache.guacamole.properties.GuacamoleProperty;
import org.apache.guacamole.GuacamoleServerException; import org.apache.guacamole.GuacamoleServerException;
import org.apache.guacamole.environment.Environment;
import org.apache.guacamole.environment.LocalEnvironment;
/** /**
* A GuacamoleProperty whose value is derived from a private key file. * A GuacamoleProperty whose value is derived from a private key file.

View File

@@ -21,8 +21,7 @@
* Module which provides handling for CAS authentication. * Module which provides handling for CAS authentication.
*/ */
angular.module('guacCAS', [ angular.module('guacCAS', [
'form', 'form'
'ngRoute',
]); ]);
// Ensure the CAS module is loaded along with the rest of the app // Ensure the CAS module is loaded along with the rest of the app