Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…entication fails when using FIWARE IdM
  • Loading branch information
gigavard committed Jun 23, 2016
1 parent 8ec25e2 commit ac47c76
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ private UserProfile authenticateUser() {

SpagoBIUserProfile spagoBIUserProfile = supplier.checkAuthentication(user, password);
if (spagoBIUserProfile != null) {
profile = (UserProfile) UserUtilities.getUserProfile(user);
profile = (UserProfile) UserUtilities.getUserProfile(spagoBIUserProfile.getUniqueIdentifier());
}
} catch (Throwable t) {
// Do nothing: it will return null
} catch (Exception e) {
logger.error("Erro while authenticating user", e);
} finally {
logger.trace("OUT");
}
Expand Down

0 comments on commit ac47c76

Please sign in to comment.