protected UUID getLoggedUserId ( ) { HttpServletRequest httpServletRequest = getHttpServletRequest ( ) ; String remoteUser = httpServletRequest . getRemoteUser ( ) ; if ( remoteUser == null ) { return null ; } return UUID . fromString ( remoteUser ) ; }
Returns logged user id