How can I get a user's first name, last name, etc when using RH-SSO?

Solution Verified - Updated -

Issue

When I use keycloak, I need to get member's first name, last name and memberId using Principals class.

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.x
  • Red Hat Single-Sign On
    • 7.x
  • KeyCloak

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.