-
Notifications
You must be signed in to change notification settings - Fork 100
/
configAdvanced.jelly
31 lines (31 loc) · 1.15 KB
/
configAdvanced.jelly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:advanced>
<f:entry title="${%Domain controller}" field="server">
<f:textbox />
</f:entry>
<f:entry field="site" title="${%Site}">
<f:textbox />
</f:entry>
<f:entry field="bindName" title="${%Bind DN}">
<f:textbox />
</f:entry>
<f:entry field="bindPassword" title="${%Bind Password}">
<f:password />
</f:entry>
<f:entry field="groupLookupStrategy" title="${%Group Membership Lookup Strategy}">
<f:select />
</f:entry>
<f:entry field="removeIrrelevantGroups" title="${%Remove irrelevant groups}">
<f:checkbox />
</f:entry>
</f:advanced>
<f:nested>
<f:validateButton with="domain,server,site,bindName,bindPassword" title="${%Test}" method="validate"/>
</f:nested>
<script type="text/javascript" >
document.addEventListener("DOMContentLoaded", function(event) {
document.getElementsByName("_.bindPassword")[0].autocomplete = "off";
document.getElementsByName("_.bindName")[0].autocomplete = "off";
});
</script>
</j:jelly>