summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml2
-rw-r--r--src/main/java/de/bwlehrpool/bwlp_guac/BwlpAuthenticationProvider.java6
-rw-r--r--src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java2
3 files changed, 4 insertions, 6 deletions
diff --git a/pom.xml b/pom.xml
index 3c8717d..e5801d0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.build.timestamp.format>yyyy.MM.dd HH:mm</maven.build.timestamp.format>
+ <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
</properties>
<build>
diff --git a/src/main/java/de/bwlehrpool/bwlp_guac/BwlpAuthenticationProvider.java b/src/main/java/de/bwlehrpool/bwlp_guac/BwlpAuthenticationProvider.java
index e77c584..40935ea 100644
--- a/src/main/java/de/bwlehrpool/bwlp_guac/BwlpAuthenticationProvider.java
+++ b/src/main/java/de/bwlehrpool/bwlp_guac/BwlpAuthenticationProvider.java
@@ -31,7 +31,7 @@ public class BwlpAuthenticationProvider implements AuthenticationProvider {
LOGGER.info("Plugin build revision: " + MANIFEST.getProperty("Build-Revision"));
String timestamp = MANIFEST.getProperty("Build-Revision-Timestamp");
- DateFormat formatter = new SimpleDateFormat("yyyy.MM.dd HH:mm");
+ DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm");
long milliSeconds= Long.parseLong(timestamp);
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(milliSeconds);
@@ -80,11 +80,9 @@ public class BwlpAuthenticationProvider implements AuthenticationProvider {
public UserContext redecorate(UserContext decorated, UserContext context, AuthenticatedUser authenticatedUser,
Credentials credentials) throws GuacamoleException {
- LOGGER.info(MANIFEST.getProperty("Build-Revision"));
-
String username = Util.getUsername(authenticatedUser);
if (username == null) {
- LOGGER.warn("redecorate: Ignoring user without name");
+ LOGGER.warn("Ignoring user without name");
return context;
}
diff --git a/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java b/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java
index 10c9eb2..5e4cb90 100644
--- a/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java
+++ b/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java
@@ -354,7 +354,7 @@ public class ConnectionManager {
try {
ctx = SSLContext.getInstance("TLSv1.2");
} catch (NoSuchAlgorithmException e) {
- LOGGER.warn("Could not get TLSv1.2 context, SSL will be secure :-(", e);
+ LOGGER.warn("Could not get TLSv1.2 context, SSL will be insecure :-(", e);
}
if (ctx != null) {
try {