Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit a19298c

Browse files
sumauppayaminikb
authored andcommitted
Fixes #22157: Disable autocomplete in console pages. (#22158)
1 parent 3216ffe commit a19298c

20 files changed

Lines changed: 30 additions & 30 deletions

File tree

appserver/admingui/cluster/src/main/resources/cluster/clusterNew.jsf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
setPageSessionAttribute(key="jmsType" value="#{jmsTypeOptionGrp}");
5959
/>
6060
</event>
61-
<sun:form id="propertyForm">
61+
<sun:form id="propertyForm" autoComplete="off">
6262
#include "/cluster/shared/handlers.inc"
6363
#include "/cluster/shared/jmsHandlers.inc"
6464
#include "/common/shared/alertMsg.inc"

appserver/admingui/cluster/src/main/resources/node/nodeAttr.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
<!afterCreate
218218
getClientId(component="$this{component}" clientId="#{pageSession.ps1PropId}");
219219
/>
220-
<sun:passwordField id="NewPassword" text="#{pageSession.pswdText}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" >
220+
<sun:passwordField id="NewPassword" name="password" text="#{pageSession.pswdText}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" >
221221
<!afterCreate
222222
getClientId(component="$this{component}" clientId="#{pageSession.ps1Id}");
223223
/>
@@ -264,7 +264,7 @@
264264
<!afterCreate
265265
getClientId(component="$this{component}" clientId="#{pageSession.setupPswdPropId}");
266266
/>
267-
<sun:passwordField id="setupPswd" columns="$int{60}" maxLength="#{sessionScope.fieldLengths['maxLength.node.Keyfile']}" text="#{pageSession.setupPswd}" >
267+
<sun:passwordField id="setupPswd" name="password" columns="$int{60}" maxLength="#{sessionScope.fieldLengths['maxLength.node.Keyfile']}" text="#{pageSession.setupPswd}" >
268268
<!afterCreate
269269
getClientId(component="$this{component}" clientId="#{pageSession.setupPswdId}");
270270
/>
@@ -339,7 +339,7 @@
339339
<!afterCreate
340340
getClientId(component="$this{component}" clientId="#{pageSession.winPs1PropId}");
341341
/>
342-
<sun:passwordField id="NewPassword" text="#{pageSession.winPswdText}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" >
342+
<sun:passwordField id="NewPassword" name="password" text="#{pageSession.winPswdText}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" >
343343
<!afterCreate
344344
getClientId(component="$this{component}" clientId="#{pageSession.winPs1Id}");
345345
/>

appserver/admingui/cluster/src/main/resources/node/nodeEdit.jsf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
setPageSessionAttribute(key="titleHelp" value="$resource{i18ncs.node.EditPageTitleHelp}");
129129
/>
130130
</event>
131-
<sun:form id="propertyForm">
131+
<sun:form id="propertyForm" autoComplete="off">
132132
#include "/common/shared/alertMsg.inc"
133133
#include "/cluster/node/nodeAttr.inc"
134134

appserver/admingui/cluster/src/main/resources/node/nodeNew.jsf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686

8787
/>
8888
</event>
89-
<sun:form id="propertyForm">
89+
<sun:form id="propertyForm" autoComplete="off">
9090
#include "/common/shared/alertMsg.inc"
9191
#include "/cluster/node/nodeAttr.inc"
9292

appserver/admingui/common/src/main/resources/appServer/pswdAliasAttr.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
</sun:property>
5353

5454
<sun:property id="newPasswordProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.pswdAlias.password}" helpText="$resource{i18nc.pswdAlias.passwordHelp}">
55-
<sun:passwordField id="NewPassword" styleClass="required" required="#{true}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" text="#{pageSession.valueMap['aliaspassword']}" >
55+
<sun:passwordField id="NewPassword" name="password" styleClass="required" required="#{true}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" text="#{pageSession.valueMap['aliaspassword']}" >
5656
<!afterCreate
5757
getClientId(component="$this{component}" clientId="#{pageSession.ps1}");
5858
/>
5959
</sun:passwordField>
6060
</sun:property>
6161
<sun:property id="confirmPasswordProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.pswdAlias.confirmPassword}" helpText="$resource{i18nc.pswdAlias.confirmPasswordHelp}">>
62-
<sun:passwordField id="ConfirmPassword" styleClass="required" required="#{true}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.ConfirmNewPassword']}" text="#{pageSession.confirmPassword}" >
62+
<sun:passwordField id="ConfirmPassword" name="password" styleClass="required" required="#{true}" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.ConfirmNewPassword']}" text="#{pageSession.confirmPassword}" >
6363
<!afterCreate
6464
getClientId(component="$this{component}" clientId="#{pageSession.ps2}");
6565
/>

appserver/admingui/common/src/main/resources/appServer/pswdAliasEdit.jsf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
setPageSessionAttribute(key="edit" value="#{true}" );
5656
/>
5757
</event>
58-
<sun:form id="propertyForm">
58+
<sun:form id="propertyForm" autoComplete="off">
5959
#include "/common/shared/alertMsg_1.inc"
6060
<sun:title id="propertyContentPage" title="$resource{i18nc.pswdAliasEdit.title}" helpText="$resource{i18nc.pswdAliasEdit.titleHelp}" >
6161
<!facet pageButtonsTop>

appserver/admingui/common/src/main/resources/appServer/pswdAliasNew.jsf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
setPageSessionAttribute(key="edit" value="#{false}" );
5454
/>
5555
</event>
56-
<sun:form id="propertyForm">
56+
<sun:form id="propertyForm" autoComplete="off">
5757
#include "/common/shared/alertMsg_1.inc"
5858
<sun:title id="propertyContentPage" title="$resource{i18nc.pswdAliasNew.title}" helpText="$resource{i18nc.pswdAliasNew.titleHelp}" >
5959
<!facet pageButtonsTop>

appserver/admingui/common/src/main/resources/appServer/serverInstAdminPassword.jsf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
getUserInfo(Realm="#{pageSession.authRealm}", configName="#{pageSession.configName}", User="#{sessionScope.userName}", GroupList="#{pageSession.group}" );
5959
/>
6060
</event>
61-
<sun:form id="propertyForm">
61+
<sun:form id="propertyForm" autoComplete="off">
6262
#include "/common/appServer/domainTabs.inc"
6363
#include "/common/shared/alertMsg.inc"
6464
<!-- Page Title -->
@@ -86,14 +86,14 @@
8686
<sun:staticText id="GroupList" text="#{pageSession.group}"/>
8787
</sun:property>
8888
<sun:property id="newPasswordProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.domain.NewPassword}">
89-
<sun:passwordField id="NewPassword" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" text="#{pageSession.password}" >
89+
<sun:passwordField id="NewPassword" name="password" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.NewPassword']}" text="#{pageSession.password}" >
9090
<!afterCreate
9191
getClientId(component="$this{component}" clientId=>$page{ps1});
9292
/>
9393
</sun:passwordField>
9494
</sun:property>
9595
<sun:property id="confirmPasswordProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.domain.ConfirmNewPassword}">
96-
<sun:passwordField id="ConfirmPassword" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.ConfirmNewPassword']}" text="#{pageSession.confirmPassword}" >
96+
<sun:passwordField id="ConfirmPassword" name="password" columns="$int{25}" maxLength="#{sessionScope.fieldLengths['maxLength.server.ConfirmNewPassword']}" text="#{pageSession.confirmPassword}" >
9797
<!afterCreate
9898
getClientId(component="$this{component}" clientId=>$page{ps2});
9999
/>

appserver/admingui/common/src/main/resources/security/realms/manageUserEdit.jsf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666
/>
6767
</event>
68-
<sun:form id="propertyForm">
68+
<sun:form id="propertyForm" autoComplete="off">
6969
#include "/common/shared/alertMsg.inc"
7070
<!-- Page Title -->
7171
<sun:title id="propertyContentPage" title="$resource{i18nc.manageUsers.EditPageTitle}"
@@ -116,14 +116,14 @@
116116
</sun:property>
117117

118118
<sun:property id="newPasswordProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.manageUsers.NewPassword}">
119-
<sun:passwordField id="NewPassword" columns="$int{25}" text="#{pageSession.password}" >
119+
<sun:passwordField id="NewPassword" name="password" columns="$int{25}" text="#{pageSession.password}" >
120120
<!afterCreate
121121
getClientId(component="$this{component}" clientId=>$page{ps1});
122122
/>
123123
</sun:passwordField>
124124
</sun:property>
125125
<sun:property id="confirmPasswordProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.manageUsers.ConfirmNewPassword}">
126-
<sun:passwordField id="ConfirmPassword" columns="$int{25}" text="#{pageSession.confirmPassword}" >
126+
<sun:passwordField id="ConfirmPassword" name="password" columns="$int{25}" text="#{pageSession.confirmPassword}" >
127127
<!afterCreate
128128
getClientId(component="$this{component}" clientId=>$page{ps2});
129129
/>

appserver/admingui/common/src/main/resources/security/realms/manageUserNew.jsf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
setPageSessionAttribute(key="emptyPswdMsg", value="$resource{i18n.msg.JS.manageUser.setEmptyPassword}")
6565
/>
6666
</event>
67-
<sun:form id="propertyForm">
67+
<sun:form id="propertyForm" autoComplete="off">
6868
#include "/common/shared/alertMsg.inc"
6969
<!-- Page Title -->
7070
<sun:title id="propertyContentPage" title="$resource{i18nc.manageUsers.NewPageTitle}"
@@ -114,7 +114,7 @@
114114
</sun:property>
115115

116116
<sun:property id="newPasswordProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.manageUsers.NewPassword}">
117-
<sun:passwordField id="NewPassword" columns="$int{25}" text="#{requestScope.password}" >
117+
<sun:passwordField id="NewPassword" name="password" columns="$int{25}" text="#{requestScope.password}" >
118118
<!afterCreate
119119
getClientId(component="$this{component}" clientId=>$page{ps1});
120120
/>

0 commit comments

Comments
 (0)