Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Problem access to login ceredentials from java application.

    Posted on

    I have an application developed with JPA, JSF and PRIMEFACES deployed in JBOSS EAP 7, when a user logs in to SSO, the token returns the id Session of the user instead of username and I want to get the username, I tried to get it with the following code #{request.userPrincipal.name}

    for example

    User logged= ferny
    username shown = b594c617-6415-45d3-8a90-f05ae3c4ecbd
    How can I get the username? I think that SSO is protecting the username logged in , Am I correct? Is there any aditional configuration to allow access to username instead IdSession?

    I have applied the "GETTING STARTED GUIDE" configuration of SSO mencioned here : https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.1-beta/html/getting_started_guide/

    Thanks.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat