@ Override public String getRemoteUser ( ) { String user = getHeader ( "X_REMOTE_USER" ) ; if ( user != null ) { return user ; } else { return super . getRemoteUser ( ) ; } }
Returns the user defined as parameter user if present .