protected User getUser ( String username ) { Integer id = userIds ( ) . get ( username . toLowerCase ( ) ) ; if ( id == null ) { throw new IllegalStateException ( format ( "Could not find ID corresponding to username [%s]" , username ) ) ; } return getUser ( id ) ; }
Gets the user with the specified username .