1 Reply Latest reply on Oct 16, 2019 5:16 PM by Ashley Abdel-Sayed

    Override JdbcRealmIdentity to pass custom principal name

    Jeevan Yogaraj Newbie

      Hi,

      I am working on application to migrate from picketbox to Elytron security. We have a custom principal name with "username:sessionId". I need to override principal.getName() that we pass to JdbcRealmIdentity to pass just the username instead of entire prinipal name.

      Please suggest me best possible way to do it.