Skip to content
Permalink
Browse files
Merge pull request #11 from myrle-krantz/develop
minor improvements
  • Loading branch information
myrle-krantz committed Jul 12, 2017
2 parents 990ea62 + 33e0368 commit b2de3af6f5e4fa1db2aee1c2d6f38adbda276160
Showing 2 changed files with 3 additions and 2 deletions.
@@ -87,10 +87,10 @@ public AnubisAuthentication authenticate(
}
catch (final JwtException e) {
logger.debug("token = {}", token);
logger.info("System token for user {}, with key timestamp {} failed to authenticate. Exception was {}", user, keyTimestamp, e);
logger.info("System token for user {}, with key timestamp {} failed to authenticate. Exception was {}", user, keyTimestamp, e.getMessage());
throw AmitAuthenticationException.invalidToken();
} catch (final InvalidKeyTimestampException e) {
logger.info("System token for user {}, with key timestamp {} failed to authenticate. Exception was {}", user, keyTimestamp, e);
logger.info("System token for user {}, with key timestamp {} failed to authenticate. Exception was {}", user, keyTimestamp, e.getMessage());
throw AmitAuthenticationException.invalidTokenKeyTimestamp("system", keyTimestamp);
}
}
@@ -57,6 +57,7 @@ dependencies {

jar {
from sourceSets.main.allSource
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

license {

0 comments on commit b2de3af

Please sign in to comment.