@Test public void testUser() { }
AuthorizationSession user(User aUser) { _user = aUser; if (_user == null) { LOG.warn("AuthorizationSession.user: user is null!"); _groups = null; } else { _groups = _userUtils.getUserGroups(_user); if (_groups.isEmpty() && _user.getUGI() != null) { String[] groups = _user.getUGI().getGroupNames(); if (groups != null) { _groups = Sets.newHashSet(groups); } } _superUser = _userUtils.isSuperUser(_user); } return this; }
AuthorizationSession { AuthorizationSession user(User aUser) { _user = aUser; if (_user == null) { LOG.warn("AuthorizationSession.user: user is null!"); _groups = null; } else { _groups = _userUtils.getUserGroups(_user); if (_groups.isEmpty() && _user.getUGI() != null) { String[] groups = _user.getUGI().getGroupNames(); if (groups != null) { _groups = Sets.newHashSet(groups); } } _superUser = _userUtils.isSuperUser(_user); } return this; } }
AuthorizationSession { AuthorizationSession user(User aUser) { _user = aUser; if (_user == null) { LOG.warn("AuthorizationSession.user: user is null!"); _groups = null; } else { _groups = _userUtils.getUserGroups(_user); if (_groups.isEmpty() && _user.getUGI() != null) { String[] groups = _user.getUGI().getGroupNames(); if (groups != null) { _groups = Sets.newHashSet(groups); } } _superUser = _userUtils.isSuperUser(_user); } return this; } AuthorizationSession(RangerBasePlugin authorizer); }
AuthorizationSession { AuthorizationSession user(User aUser) { _user = aUser; if (_user == null) { LOG.warn("AuthorizationSession.user: user is null!"); _groups = null; } else { _groups = _userUtils.getUserGroups(_user); if (_groups.isEmpty() && _user.getUGI() != null) { String[] groups = _user.getUGI().getGroupNames(); if (groups != null) { _groups = Sets.newHashSet(groups); } } _superUser = _userUtils.isSuperUser(_user); } return this; } AuthorizationSession(RangerBasePlugin authorizer);  }
AuthorizationSession { AuthorizationSession user(User aUser) { _user = aUser; if (_user == null) { LOG.warn("AuthorizationSession.user: user is null!"); _groups = null; } else { _groups = _userUtils.getUserGroups(_user); if (_groups.isEmpty() && _user.getUGI() != null) { String[] groups = _user.getUGI().getGroupNames(); if (groups != null) { _groups = Sets.newHashSet(groups); } } _superUser = _userUtils.isSuperUser(_user); } return this; } AuthorizationSession(RangerBasePlugin authorizer);   }