Merge pull request #1167 from panga/master
KEYCLOAK-1222 - BasicAuth KeycloakSecurityContext token issue
This commit is contained in:
commit
955967f78a
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ public class BasicAuthRequestAuthenticator extends BearerTokenRequestAuthenticat
|
||||||
String[] parts=userpw.split(":");
|
String[] parts=userpw.split(":");
|
||||||
|
|
||||||
atr = getToken(parts[0], parts[1]);
|
atr = getToken(parts[0], parts[1]);
|
||||||
|
tokenString = atr.getToken();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.debug("Failed to obtain token", e);
|
log.debug("Failed to obtain token", e);
|
||||||
challenge = challengeResponse(exchange, "no_token", e.getMessage());
|
challenge = challengeResponse(exchange, "no_token", e.getMessage());
|
||||||
|
|
Loading…
Reference in a new issue