如何在 Jenkins 中创建用户并将其添加到组中以进行身份​​验证? [英] How to create and add users to a group in Jenkins for authentication?

查看:34
本文介绍了如何在 Jenkins 中创建用户并将其添加到组中以进行身份​​验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我选择使用Jenkins 自己的用户数据库"安全领域进行用户登录,因为我无法在公司中使用 LDAP.当您决定将主机名或端口号更改为其他名称时,Google 的 OpenID 会出现问题.

I choose to use "Jenkins's own user database" security realm for user login as I couldn't use LDAP in my company. And Google's OpenID has issue when you decided to change the hostname or port number to something else.

我使用基于项目的矩阵授权策略"架构来保证我的安全性.

And I use "Project-based Matrix Authorization Strategy" schema for my security.

但我似乎无法创建自己的组,并将用户添加到组以管理权限.

But I don't seem to able to create my own group, and add users to the group to manage the permission.

推荐答案

根据 Jenkins 首席开发人员 Kohsuke Kawaguchi 在 2009 年发布的这篇文章,没有对内置 Jenkins 用户数据库的组支持.组支持仅在将 Jenkins 与 LDAP 或 Active Directory 集成时可用.这在 2012 年似乎是一样的.

According to this posting by the lead Jenkins developer, Kohsuke Kawaguc in 2009, there is no group support for the built-in Jenkins user database. Group support is only usable when integrating Jenkins with LDAP or Active Directory. This appears to be the same in 2012.

但是,正如 Vadim 在他的回答中所写,您不需要对内置 Jenkins 用户数据库的组支持,这要感谢 角色策略插件.

However, as Vadim wrote in his answer, you don't need group support for the built-in Jenkins user database, thanks to the Role strategy plug-in.

这篇关于如何在 Jenkins 中创建用户并将其添加到组中以进行身份​​验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆