Is it possible store complex data in Elytron Attribute instance?

Solution Verified - Updated -

Issue

Is it possible to store additional and more complex java types than role strings in the Elytron security user session that are accessible and usable from applications code like EJBs? Or is this Attribute instance only able to store strings and the only possible way to retain data from login code to application code?

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.4

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