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

查看:1316
本文介绍了如何在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在他的回答中所写,由于

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天全站免登陆