Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/oic-auth-plugin
  Commit: e74371db7d1ccc584712776a8521b448f72c8382
      
https://github.com/jenkinsci/oic-auth-plugin/commit/e74371db7d1ccc584712776a8521b448f72c8382
  Author: Jo Vandeginste <jo.vandegin...@kuleuven.be>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/oic/OicSecurityRealm.java

  Log Message:
  -----------
  Look for a known user, or return UsernameNotFoundException

I took a peek at the [Saml 
plugin](https://github.com/jenkinsci/saml-plugin/blob/master/src/main/java/org/jenkinsci/plugins/saml/SamlUserDetailsService.java#L50-L53)

See also https://javadoc.jenkins-ci.org/hudson/model/User.html

The function `User.get(String idOrFullName)` is deprecated. I replaced
it in my local code with `User.get(String idOrFullName, boolean create,
Map context)`, with `create=false`. I check if the result is `null`, in
which case we return a `UsernameNotFoundException`.

Signed-off-by: Jo Vandeginste <jo.vandegin...@kuleuven.be>


  Commit: ac89fbc8a12664bcd308576f370d36b4b4c4ee66
      
https://github.com/jenkinsci/oic-auth-plugin/commit/ac89fbc8a12664bcd308576f370d36b4b4c4ee66
  Author: Zhao Xiaojie <r...@jenkins-zh.cn>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/oic/OicSecurityRealm.java

  Log Message:
  -----------
  Merge pull request #82 from kuleuven/fix-search-box

Look for a known user, or return UsernameNotFoundException


Compare: 
https://github.com/jenkinsci/oic-auth-plugin/compare/9c4ea1cafb68...ac89fbc8a126

-- 
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 jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/oic-auth-plugin/push/refs/heads/master/9c4ea1-ac89fb%40github.com.

Reply via email to