Revision 98:fd31e8704d66
WebContent/jsp/ss223_application/ibssAppUserDeleteResult.jsp | ||
---|---|---|
32 | 32 |
<td> </td> |
33 | 33 |
<td> </td> |
34 | 34 |
<td> </td> |
35 |
<td> |
|
36 |
<htmlEL:form action="/ss223/appUserEnquiryMain.do"> |
|
35 |
</tr> |
|
36 |
</table> |
|
37 |
<htmlEL:form action="/ss223/appUserEnquiryMain.do"> |
|
38 |
<div class="floatRight"> |
|
37 | 39 |
<htmlEL:submit property="action" styleClass="button" onclick="overlay();"> |
38 | 40 |
<bean:message key="general.button.back"/> |
39 | 41 |
</htmlEL:submit> |
40 |
</htmlEL:form></td> |
|
41 |
</tr> |
|
42 |
</table> |
|
42 |
</div> |
|
43 |
</htmlEL:form> |
WebContent/jsp/ss223_application/ibssAppUserResetPass.jsp | ||
---|---|---|
89 | 89 |
<td colspan="2"> </td> |
90 | 90 |
<td> </td> |
91 | 91 |
</tr> |
92 |
<tr> |
|
93 |
<td> </td> |
|
94 |
<td> </td> |
|
95 |
<td> </td> |
|
96 |
<td colspan="2" width="150"> |
|
92 |
</table> |
|
93 |
|
|
94 |
<div class="floatRight"> |
|
97 | 95 |
<htmlEL:submit property="action" styleClass="button" onclick="overlay();"> |
98 | 96 |
<bean:message key="general.button.back"/> |
99 | 97 |
</htmlEL:submit> |
100 | 98 |
<htmlEL:submit property="action" styleClass="button" onclick="overlay();"> |
101 | 99 |
<bean:message key="general.button.confirm"/> |
102 | 100 |
</htmlEL:submit> |
103 |
</td> |
|
104 |
</tr> |
|
105 |
</table> |
|
101 |
</div> |
|
106 | 102 |
</htmlEL:form> |
WebContent/jsp/ss223_application/ibssAppUserResetPassResult.jsp | ||
---|---|---|
31 | 31 |
<td> </td> |
32 | 32 |
</tr> |
33 | 33 |
</table> |
34 |
<htmlEL:form action="/ss223/appUserEnquiryMain.do"> |
|
34 | 35 |
<div class="floatRight"> |
35 |
<htmlEL:form action="/ss223/appUserEnquiryMain.do"> |
|
36 | 36 |
<htmlEL:hidden name="appUserForm" property="userId" /> |
37 | 37 |
<htmlEL:submit property="action" styleClass="button" onclick="overlay();"> |
38 | 38 |
<bean:message key="general.button.back"/> |
39 | 39 |
</htmlEL:submit> |
40 |
</div> |
|
40 | 41 |
</htmlEL:form> |
41 | 42 |
</div> |
src/com/ib/ibss/enterprise/services/ss223_application/IBSSApplicationUserResetPassResultServices.java | ||
---|---|---|
58 | 58 |
IBSSDynaBean detailBean = (IBSSDynaBean) getIBSSDynaBean().get(IBSSApplicationUserConstants.APPLICATION_USER_DETAILS_BEAN); |
59 | 59 |
Long userID = (Long) detailBean.get (IBSSApplicationUserConstants.USER_ID); |
60 | 60 |
String userAlias = (String) detailBean.get (IBSSApplicationUserConstants.USER_ALIAS); |
61 |
String appId = (String) detailBean.get (IBSSApplicationUserConstants.APPLICATION_ID);
|
|
61 |
Integer appId = (Integer) detailBean.get (IBSSApplicationUserConstants.APPLICATION_ID);
|
|
62 | 62 |
|
63 | 63 |
String logReason = null; |
64 | 64 |
|
... | ... | |
67 | 67 |
/* Validate password*/ |
68 | 68 |
AdminSharedServices adminService = new AdminSharedServices (); |
69 | 69 |
|
70 |
if(Integer.valueOf(appId).equals(ClientApp.APP_ID_ONLINE_STOCK) || Integer.valueOf(appId).equals(ClientApp.APP_ID_IM2U))
|
|
70 |
if(appId.equals(ClientApp.APP_ID_ONLINE_STOCK) || appId.equals(ClientApp.APP_ID_IM2U))
|
|
71 | 71 |
{ |
72 | 72 |
logReason = adminService.checkPasswordPattern (password ,getUPassService (), ClientApp.APP_ID_M2U); |
73 | 73 |
} |
74 | 74 |
else |
75 | 75 |
{ |
76 |
logReason = adminService.checkPasswordPattern (password ,getUPassService (), Integer.valueOf(appId));
|
|
76 |
logReason = adminService.checkPasswordPattern (password ,getUPassService (), appId);
|
|
77 | 77 |
} |
78 | 78 |
|
79 | 79 |
/* Reset password */ |
Also available in: Unified diff