The Incident Archive: A blog to store my knowledge on the errors that I fix on a daily basis
Thursday, April 29, 2010
getUserPrincipalName returns anonymous
I upgraded to the new jdeveloper release and my security stoped working (proxy stuff).
So I had to change getUserPrincipalName in my Application module to ADFContext.getCurrent().getSecurityContext().getUserPrincipal().getName().
getUserPrincipalName adf anonymous
Post a Comment
Post Comments (Atom)