Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11303

Elytron - Unable to customize identity name when authenticating using Kerberos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.ER2
    • 7.1.0.DR19
    • Security
    • None

      I'm not able to cut off realm suffix from username when authenticating with Kerberos. Legacy security realms provide this functionality controlled by "remove-realm" attribute in /core-service=management/security-realm=*/authentication=kerberos.

      IMO this should be solvable by principal decoders in Elytron. Nevertheless currently only the constant and x509 principal decoders are provided which is not sufficient. I'm not counting aggregation and concatenation decoders as they are just wrappers. So the current implementations can't solve my scenario - the removing of Kerberos realm extension ( "jduke@JBOSS.ORG" => "jduke").

      There already exists wider set of principal transformers in Elytron, but the transformers don't change Principal of the identity and they are just used during authentication.

      I suggest to create a new regex-principal-decoder with similar behavior as regex-principal-transformer.

              darran.lofthouse@redhat.com Darran Lofthouse
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: