Calling getUserPrincipal() in a Web Service returns ANONYMOUS
WebServiceContext.getUserPrincipal returns "ANONYMOUS" when using mutual authentication
How to write this anonymous method in one line? request.getUserPrincipal() is still not null after session is invalidated Why can't I use <Class>.this in anonymous class? Using an Anonymous Class How to call the anonymous class method in Java Mutual Authentication on Tomcat 7 and request.getUserPrincipal() getUserPrincipal returns null request.getUserPrincipal().getName() causing error 500 request.getUserPrincipal() got null how do I test anonymous class? request.getUserPrincipal() is null in RequestListener despite that authentication succeeded Anonymous class method access Anonymous class java question How can I write an anonymous function in Java? Anonymous Class and Anonymous Thread Anonymous code block in anonymous class Java Name of anonymous class Can't call anonymous class method Does Acegi/Spring security support getUserPrincipal()? UnsupportedOperationException getUserPrincipal Anonymous class question Java anonymous class Access "this" from Java anonymous class Is there a way to access an anonymous class inside another anonymous class? Class Name for Java anonymous class Spring Security request.getUserPrincipal() always null Method that returns new object of anonymous class How to return value from anonymous class? Return anonymous object in java