Interface TAIPrincipal

All Superinterfaces:

public interface TAIPrincipal extends Principal

This marker interface only needs to be implemented by a TAI provider in cases where they want to put in multiple Principal objects in the Subject that is returned by the TAI.getSubject() API. There can only be one principal which implements this interface, otherwise, it's non-deterministic regarding which Principal should be used for the TAI/WAS username.

In cases where there is only one principal in the Subject, it is assumed that the principal implements and the getName() API is used to retrieve the authenticated username.