Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/active-directory-plugin
  Commit: 5d2bccf0d1160a3d8848dc619706daf4070cb942
      
https://github.com/jenkinsci/active-directory-plugin/commit/5d2bccf0d1160a3d8848dc619706daf4070cb942
  Author: Tomas Westling <[email protected]>
  Date:   2013-03-08 (Fri, 08 Mar 2013)

  Changed paths:
    M 
src/main/java/hudson/plugins/active_directory/ActiveDirectoryUserDetail.java

  Log Message:
  -----------
  Moved time-consuming operations from toString to setAuthorities

The toString method is called lots of times whenever the permissions
of a user is to be checked. Every toString call will create a
concatenated string of all the groups the user is part of. I have
moved this concatenation to the setAuthorities method, which will
cause it to be run on login instead of every time a user needs
permissions for anything. Big performance gains have been seen at
the low cost of having to re-log if a relevant change is made in
the users permissions.


  Commit: 1d63a93da62758f2ad20aa4bc5f5a8e6978561b4
      
https://github.com/jenkinsci/active-directory-plugin/commit/1d63a93da62758f2ad20aa4bc5f5a8e6978561b4
  Author: Robert Sandell <[email protected]>
  Date:   2013-04-18 (Thu, 18 Apr 2013)

  Changed paths:
    M 
src/main/java/hudson/plugins/active_directory/ActiveDirectoryUserDetail.java

  Log Message:
  -----------
  Merge pull request #6 from TWestling/master

Moved time-consuming operations from toString to setAuthorities


Compare: 
https://github.com/jenkinsci/active-directory-plugin/compare/f6d7b2eced09...1d63a93da627

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to