Returns Java's JAAS Principal
Provides jakarta.servlet request attributes or fail it the underlying engine is not servlet-backed.