RememberMe doesn't work with unix authentication

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hudson r15380

      RememberMe doesn't work with PAMSecurityRealm correctly.

      SecurityRealm.java 87L, returning dummy instance causes this bug? but I have no
      idea.

      new UserDetailsService() {
      public UserDetails loadUserByUsername(String username) throws
      UsernameNotFoundException, DataAccessException {
      if(!UnixUser.exists(username))
      throw new UsernameNotFoundException("No such Unix user:
      "+username);
      // return some dummy instance
      return new User(username,"",true,true,true,true,
      new GrantedAuthority[]

      {new GrantedAuthorityImpl("authenticated")}

      );
      }
      }

            Assignee:
            Alan Harder
            Reporter:
            sogabe
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: