Merge pull request #1167 from panga/master

KEYCLOAK-1222 - BasicAuth KeycloakSecurityContext token issue
This commit is contained in:
Marek Posolda 2015-04-22 08:39:44 +02:00
commit 955967f78a

View file

@ -53,6 +53,7 @@ public class BasicAuthRequestAuthenticator extends BearerTokenRequestAuthenticat
String[] parts=userpw.split(":");
atr = getToken(parts[0], parts[1]);
tokenString = atr.getToken();
} catch (Exception e) {
log.debug("Failed to obtain token", e);
challenge = challengeResponse(exchange, "no_token", e.getMessage());