Skip to content
Browse files
Adding a bit of extra logging.
  • Loading branch information
myrle-krantz committed Jul 19, 2017
1 parent 55c2792 commit 42f541cf1f0520293eb0b3940c46a11dbe2ee074
Showing 2 changed files with 3 additions and 0 deletions.
@@ -120,9 +120,11 @@ public IdentityServiceInitializationResult initializeIsis(

return new IdentityServiceInitializationResult(signatureSet, encodedPasswordHash);
} catch (final InvalidTokenException e) {
logger.warn("The given identity instance didn't recognize the system token as valid.", e);
throw ServiceException.conflict("The given identity instance didn't recognize the system token as valid. " +
"Perhaps the system keys for the provisioner or for the identity manager are misconfigured?");
} catch (final Exception e) {
logger.error("An unexpected error occured while initializing identity.", e);
throw new IllegalStateException(e);
@@ -238,6 +238,7 @@ ResponseEntity<Void> deleteTenant(@PathVariable("tenantidentifier") final String
ResponseEntity<IdentityManagerInitialization> assignIdentityManager(@PathVariable("tenantidentifier") final String tenantIdentifier,
@RequestBody final AssignedApplication assignedApplication)
{"Assigning identity manager for tenant '{}'.", tenantIdentifier);
final String identityManagerUri = applicationService.find(assignedApplication.getName()).getHomepage();

final Optional<String> adminPassword = tenantService.assignIdentityManager(

0 comments on commit 42f541c

Please sign in to comment.