Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
484db6b6
J
jenkins
项目概览
LinuxSuRen
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
484db6b6
编写于
5月 22, 2014
作者:
J
Jesse Glick
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FIXED JENKINS-22247] Noting merge of #1161.
上级
ef949ee1
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
9 addition
and
13 deletion
+9
-13
changelog.html
changelog.html
+3
-0
core/src/main/java/hudson/model/User.java
core/src/main/java/hudson/model/User.java
+2
-3
core/src/main/java/hudson/security/SecurityRealm.java
core/src/main/java/hudson/security/SecurityRealm.java
+2
-2
core/src/main/java/jenkins/model/IdStrategy.java
core/src/main/java/jenkins/model/IdStrategy.java
+1
-7
core/src/main/java/jenkins/model/IdStrategyDescriptor.java
core/src/main/java/jenkins/model/IdStrategyDescriptor.java
+1
-1
未找到文件。
changelog.html
浏览文件 @
484db6b6
...
...
@@ -55,6 +55,9 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div
id=
"trunk"
style=
"display:none"
>
<!--=TRUNK-BEGIN=-->
<ul
class=
image
>
<li
class=
"rfe"
>
Configurable case sensitivity mode for user IDs.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-22247"
>
issue 22247
</a>
)
<li
class=
"bug"
>
Extension point for project naming strategies did not work from actual plugins.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-23127"
>
issue 23127
</a>
)
...
...
core/src/main/java/hudson/model/User.java
浏览文件 @
484db6b6
...
...
@@ -133,7 +133,7 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
* {@link hudson.security.SecurityRealm#getUserIdStrategy()}
*
* @return the {@link jenkins.model.IdStrategy} for use with {@link User} instances.
* @since 1.56
0
* @since 1.56
6
*/
@Nonnull
public
static
IdStrategy
idStrategy
()
{
...
...
@@ -497,7 +497,7 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
/**
* Called when changing the {@link IdStrategy}.
* @since 1.56
0
* @since 1.56
6
*/
public
static
void
rekey
()
{
final
IdStrategy
strategy
=
idStrategy
();
...
...
@@ -712,7 +712,6 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
* {@link java.util.concurrent.locks.ReadWriteLock#readLock()} for normal access and
* {@link java.util.concurrent.locks.ReadWriteLock#writeLock()} for {@link #rekey()} or any other operation
* that requires operating on the map as a whole.
* @since 1.560
*/
private
static
final
ReadWriteLock
byNameLock
=
new
ReentrantReadWriteLock
();
...
...
core/src/main/java/hudson/security/SecurityRealm.java
浏览文件 @
484db6b6
...
...
@@ -156,7 +156,7 @@ public abstract class SecurityRealm extends AbstractDescribableImpl<SecurityReal
*
* @return the {@link IdStrategy} that should be used for turning
* {@link org.acegisecurity.userdetails.UserDetails#getUsername()} into an ID.
* @since 1.56
0
* @since 1.56
6
*/
public
IdStrategy
getUserIdStrategy
()
{
return
IdStrategy
.
CASE_INSENSITIVE
;
...
...
@@ -170,7 +170,7 @@ public abstract class SecurityRealm extends AbstractDescribableImpl<SecurityReal
*
* @return the {@link IdStrategy} that should be used for turning {@link hudson.security.GroupDetails#getName()}
* into an ID.
* @since 1.56
0
* @since 1.56
6
*/
public
IdStrategy
getGroupIdStrategy
()
{
return
getUserIdStrategy
();
...
...
core/src/main/java/jenkins/model/IdStrategy.java
浏览文件 @
484db6b6
...
...
@@ -37,7 +37,7 @@ import java.util.Locale;
/**
* The strategy to use for manipulating converting names (e.g. user names, group names, etc) into ids.
*
* @since 1.56
0
* @since 1.56
6
*/
public
abstract
class
IdStrategy
extends
AbstractDescribableImpl
<
IdStrategy
>
implements
ExtensionPoint
,
Comparator
<
String
>
{
...
...
@@ -135,8 +135,6 @@ public abstract class IdStrategy extends AbstractDescribableImpl<IdStrategy> imp
/**
* The default case insensitive {@link IdStrategy}
*
* @since 1.560
*/
public
static
class
CaseInsensitive
extends
IdStrategy
{
...
...
@@ -177,8 +175,6 @@ public abstract class IdStrategy extends AbstractDescribableImpl<IdStrategy> imp
/**
* A case sensitive {@link IdStrategy}
*
* @since 1.560
*/
public
static
class
CaseSensitive
extends
IdStrategy
{
...
...
@@ -256,8 +252,6 @@ public abstract class IdStrategy extends AbstractDescribableImpl<IdStrategy> imp
* Note: Not all email addresses are case sensitive. It is knowledge that belongs to the server that holds the
* mailbox. Most sane system administrators do not configure their accounts using case sensitive mailboxes
* but the RFC does allow them the option to configure that way. Domain names are always case insensitive per RFC.
*
* @since 1.560
*/
public
static
class
CaseSensitiveEmailAddress
extends
CaseSensitive
{
...
...
core/src/main/java/jenkins/model/IdStrategyDescriptor.java
浏览文件 @
484db6b6
...
...
@@ -28,7 +28,7 @@ import hudson.model.Descriptor;
/**
* The {@link hudson.model.Descriptor} for {@link jenkins.model.IdStrategy}
*
* @since 1.56
0
* @since 1.56
6
*/
public
abstract
class
IdStrategyDescriptor
extends
Descriptor
<
IdStrategy
>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录