class="blockList">
<li class="blockList">
<h4>getUserPrincipal</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/security/Principal.html?is-external=true" title="class or interface in java.security">Principal</a>&nbsp;getUserPrincipal()</pre>
<div class="block">Returns a <code>java.security.Principal</code> object containing the name of the current authenticated user. If the
 user has not been authenticated, the method returns null.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></d