static public String getBasicAuthUsername ( HttpServletRequest request ) { String [ ] userAndPassword = getBasicAuthUsernameAndPassword ( request ) ; return userAndPassword == null || userAndPassword . length == 0 ? null : userAndPassword [ 0 ] ; }
Get the user name in the basic authentication header