Elytron replacement for "removeRealmFromPrincipal" of "SPNEGOLoginModule"

Solution Unverified - Updated -


  • Migrating SPNEGO configuration from legacy security to elytron subsystem
  • Is anything similar to "removeRealmFromPrincipal" in elytron subsystem ?
  • Need to remove the Kerberos realm from the principal. E.g: johndoe@EXAMPLE.COM -> johndoe


  • Red Hat JBoss Enterprise Application Platform
    • 7.1.x
    • 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content