[keycloak-dev] Create Principal instance with username instead?

Bill Burke bburke at redhat.com
Thu Oct 30 18:29:59 EDT 2014


Right no UserPrincipal is created in the adapters using the user id. 
For strictly pure Servlet apps, an ID is pretty ugly.  I don't want to 
force them to use keycloak code.

So...is it ok to populate the principal name with 
accessToken.getPreferredUsername()?

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-dev mailing list