Project

General

Profile

« Previous | Next » 

Revision 10370

Added by Chris Jones over 7 years ago

Change isAuthorized() to prioritize user authz

Re-order the calls to userHasPermission(), isAdminAuthorized(), and isAuthoritativeMNodeAdmin() such that the user authorization comes first. This should drastically reduce the calls to CN.listNodes() and the resulting NodeList unmarsalling involved in comparing CN and MN Node Subjects to token or certificate Subjects.

refs https://projects.ecoinformatics.org/ecoinfo/issues/7203

  • added
  • modified
  • copied
  • renamed
  • deleted