]
David Lloyd resolved ELY-735.
-----------------------------
Fix Version/s: 1.1.0.Beta14
Assignee: David Lloyd
Resolution: Done
Remove PeerIdentity bundling from SecurityIdentity
--------------------------------------------------
Key: ELY-735
URL:
https://issues.jboss.org/browse/ELY-735
Project: WildFly Elytron
Issue Type: Task
Components: API / SPI
Reporter: David Lloyd
Assignee: David Lloyd
Fix For: 1.1.0.Beta14
The primary use case of the PeerIdentitys-inside-SecurityIdentity bundling capability is
bundling a Subject with the SI. But, the PI mechanism can't encompass Subject because
of the way Subject.doAs works versus PI's pre/postAssociate mechanism.
If we do need the Subject bundling capability, we should just add a Subject field to SI
and a method to create a bundled SI.
SI is in fact more closely aligned with an "SI is-a PI" arrangement, which we
might or might not want to pursue later.