[keycloak-dev] KeycloakSecurityContext serialization issue

Leonardo Loch Zanivan leonardo.zanivan at gmail.com
Mon Apr 20 18:50:44 EDT 2015


Hi,

I'm facing a problem while deserializing KeycloakSecurityContext of a Basic
Auth KeycloakAccount.

KeycloakSecurityContext stores Basic Auth base64 token instead of Access
Token, so deserialization code fail!

*String[] parts = encoded.split("\\."); if (parts.length < 2 ||
parts.length > 3) throw new IllegalArgumentException("Parsing error");*
https://github.com/keycloak/keycloak/blob/master/core/src/main/java/org/keycloak/KeycloakSecurityContext.java
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20150420/5bc37c91/attachment.html 


More information about the keycloak-dev mailing list