?? listendentitieshtml.jsp
字號:
<input type="image" src='<%= ejbcawebbean.getImagefileInfix("downarrow.gif") %>' border="0" name="<%=SORTBY_COMMONNAME_DEC %>" value="submit" ><%= ejbcawebbean.getText("COMMONNAME") %> <% }else{ if(sortby.equals(SORTBY_COMMONNAME_DEC)){ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("uparrow.gif") %>' border="0" name="<%=SORTBY_COMMONNAME_ACC %>" value="submit" ><%= ejbcawebbean.getText("COMMONNAME") %> <% }else{ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("noarrow.gif") %>' border="0" name="<%=SORTBY_COMMONNAME_ACC %>" value="submit" ><%= ejbcawebbean.getText("COMMONNAME") %> <% } } %> </td> <td width="17%"> <% if(sortby.equals(SORTBY_ORGANIZATIONUNIT_ACC)){ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("downarrow.gif") %>' border="0" name="<%=SORTBY_ORGANIZATIONUNIT_DEC %>" value="submit" ><%= ejbcawebbean.getText("ORGANIZATIONUNIT") %> <% }else{ if(sortby.equals(SORTBY_ORGANIZATIONUNIT_DEC)){ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("uparrow.gif") %>' border="0" name="<%=SORTBY_ORGANIZATIONUNIT_ACC %>" value="submit" ><%= ejbcawebbean.getText("ORGANIZATIONUNIT") %> <% }else{ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("noarrow.gif") %>' border="0" name="<%=SORTBY_ORGANIZATIONUNIT_ACC %>" value="submit" ><%= ejbcawebbean.getText("ORGANIZATIONUNIT") %> <% } } %> </td> <td width="18%"><% if(sortby.equals(SORTBY_ORGANIZATION_ACC)){ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("downarrow.gif") %>' border="0" name="<%=SORTBY_ORGANIZATION_DEC %>" value="submit" ><%= ejbcawebbean.getText("ORGANIZATION") %> <% }else{ if(sortby.equals(SORTBY_ORGANIZATION_DEC)){ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("uparrow.gif") %>' border="0" name="<%=SORTBY_ORGANIZATION_ACC %>" value="submit" ><%= ejbcawebbean.getText("ORGANIZATION") %> <% }else{ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("noarrow.gif") %>' border="0" name="<%=SORTBY_ORGANIZATION_ACC %>" value="submit" ><%= ejbcawebbean.getText("ORGANIZATION") %> <% } } %> </td> <td width="12%"><% if(sortby.equals(SORTBY_STATUS_ACC)){ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("downarrow.gif") %>' border="0" name="<%=SORTBY_STATUS_DEC %>" value="submit" ><%= ejbcawebbean.getText("STATUS") %> <% }else{ if(sortby.equals(SORTBY_STATUS_DEC)){ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("uparrow.gif") %>' border="0" name="<%=SORTBY_STATUS_ACC %>" value="submit" ><%= ejbcawebbean.getText("STATUS") %> <% }else{ %> <input type="image" src='<%= ejbcawebbean.getImagefileInfix("noarrow.gif") %>' border="0" name="<%=SORTBY_STATUS_ACC %>" value="submit" ><%= ejbcawebbean.getText("STATUS") %> <% } } %> </td> <td width="8%"> </td> </tr> <% if(blank){ %> <tr id="Row0"> <td width="5%"> </td> <td width="11%"> </td> <td width="10%"> </td> <td width="19%"> </td> <td width="17%"> </td> <td width="18%"> </td> <td width="12%"> </td> <td width="8%"> </td> </tr> <% }else{ if(users == null || users.length == 0){ %> <tr id="Row0"> <td width="5%"> </td> <td width="11%"> </td> <td width="10%"> </td> <td width="19%"><%= ejbcawebbean.getText("NOENDENTITIESFOUND") %></td> <td width="17%"> </td> <td width="18%"> </td> <td width="12%"> </td> <td width="8%"> </td> </tr> <% } else{ for(int i=0; i < users.length; i++){%> <tr id="Row<%= i%2 %>"> <td width="5%"> <div align="center"> <input type="checkbox" name="<%= CHECKBOX_SELECT_USER + i %>" value="<%= CHECKBOX_VALUE %>"> </div> </td> <td width="11%"><%= users[i].getUsername() %> <input type="hidden" name='<%= HIDDEN_USERNAME + i %>' value="<%= java.net.URLEncoder.encode(users[i].getUsername(),"UTF-8") %>" > </td> <td width="10%"><%= users[i].getCAName() %></td> <td width="19%"><%= users[i].getCommonName() %></td> <td width="17%"><%= users[i].getSubjectDNField(DNFieldExtractor.OU,0) %></td> <td width="18%"><%= users[i].getSubjectDNField(DNFieldExtractor.O,0) %></td> <td width="12%"><% switch(users[i].getStatus()){ case UserDataRemote.STATUS_NEW : out.write(ejbcawebbean.getText("STATUSNEW")); break; case UserDataRemote.STATUS_FAILED : out.write(ejbcawebbean.getText("STATUSFAILED")); break; case UserDataRemote.STATUS_INITIALIZED : out.write(ejbcawebbean.getText("STATUSINITIALIZED")); break; case UserDataRemote.STATUS_INPROCESS : out.write(ejbcawebbean.getText("STATUSINPROCESS")); break; case UserDataRemote.STATUS_GENERATED : out.write(ejbcawebbean.getText("STATUSGENERATED")); break; case UserDataRemote.STATUS_REVOKED : out.write(ejbcawebbean.getText("STATUSREVOKED")); break; case UserDataRemote.STATUS_HISTORICAL : out.write(ejbcawebbean.getText("STATUSHISTORICAL")); break; case UserDataRemote.STATUS_KEYRECOVERY : out.write(ejbcawebbean.getText("STATUSKEYRECOVERY")); break; }%></td> <td width="8%"> <A style="cursor:hand;" onclick='viewuser(<%= i %>)'> <u><%= ejbcawebbean.getText("VIEWENDENTITY") %></u> </A> <% try{ if((rabean.authorizedToEditUser(users[i].getEndEntityProfileId()) || !globalconfiguration.getEnableEndEntityProfileLimitations()) && ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_RA_EDIT_RIGHTS)){ %> <A style="cursor:hand;" onclick='edituser(<%= i %>)'> <u><%= ejbcawebbean.getText("EDITENDENTITY") %></u> </A> <% } }catch(AuthorizationDeniedException ade){} try{ if(ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_CA_VIEW_CERT)){ %> <A style="cursor:hand;" onclick='viewcert(<%= i %>)'> <u><%= ejbcawebbean.getText("VIEWCERTIFICATES") %></u> </A> <% } }catch(AuthorizationDeniedException ade){} try{ if(globalconfiguration.getIssueHardwareTokens() && (rabean.authorizedToViewHardToken(users[i].getEndEntityProfileId()) || !globalconfiguration.getEnableEndEntityProfileLimitations()) && ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_HARDTOKEN_VIEW_RIGHTS)){ %> <A style="cursor:hand;" onclick='viewtoken(<%= i %>)'> <u><%= ejbcawebbean.getText("VIEWHARDTOKENS") %></u> </A> <% } }catch(AuthorizationDeniedException ade){} try{ if((rabean.authorizedToViewHistory(users[i].getEndEntityProfileId()) || !globalconfiguration.getEnableEndEntityProfileLimitations()) && ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_RA_HISTORY_RIGHTS)){ %> <A style="cursor:hand;" onclick='viewhistory(<%= i %>)'> <u><%= ejbcawebbean.getText("VIEWHISTORY") %></u> </A> <% } }catch(AuthorizationDeniedException ade){} %> </td> </tr> <% } } } %></table> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td width="14%"> <% if(rabean.previousButton(record,size)){ %> <input type="submit" name="<%=BUTTON_PREVIOUS %>" value="<%= ejbcawebbean.getText("PREVIOUS") %>"> <% } %> </td> <td width="76%"> <div align="center"> <input type="button" name="<%=BUTTON_SELECTALL %>" value="<%= ejbcawebbean.getText("SELECTALL") %>" onClick='checkAll("document.form.<%= CHECKBOX_SELECT_USER %>", <%= numcheckboxes %>)'> <input type="button" name="<%=BUTTON_DESELECTALL %>" value="<%= ejbcawebbean.getText("UNSELECTALL") %>" onClick='uncheckAll("document.form.<%= CHECKBOX_SELECT_USER %>", <%= numcheckboxes %>)'> <input type="button" name="<%=BUTTON_INVERTSELECTION %>" value="<%= ejbcawebbean.getText("INVERTSELECTION") %>" onClick='switchAll("document.form.<%= CHECKBOX_SELECT_USER %>", <%= numcheckboxes %>)'> </div> </td> <td width="10%"> <div align="right"> <% if(rabean.nextButton(record,size)){ %> <input type="submit" name="<%=BUTTON_NEXT %>" value="<%= ejbcawebbean.getText("NEXT") %>"> <% } %> </div> </td> </tr> </table> <br><br <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td valign="top"> <% try{ if(ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_RA_REVOKE_RIGHTS)){ %> <input type="submit" name="<%=BUTTON_REVOKE_USERS %>" value="<%= ejbcawebbean.getText("REVOKESELECTED") %>" onClick='return confirmrevokation()'> <% try{ if(ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_RA_DELETE_RIGHTS)){ %> <input type="submit" name="<%=BUTTON_DELETEREVOKE_USERS %>" value="<%= ejbcawebbean.getText("REVOKEANDDELETE") %>" onClick='return confirmdeleterevoke()'> <% } }catch(AuthorizationDeniedException ade){} %> <br> <%= ejbcawebbean.getText("REVOKATIONREASON") %> <select name="<%=SELECT_REVOKE_REASON %>" > <% for(int i=0; i < RevokedInfoView.reasontexts.length; i++){ if(i!= 7){%> <option value='<%= i%>'><%= ejbcawebbean.getText(RevokedInfoView.reasontexts[i]) %></option> <% } } %> </select> <%} }catch(AuthorizationDeniedException ade){} %> </td> <td valign="top"> <% try{ if(ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_RA_DELETE_RIGHTS)){ %> <input type="submit" name="<%=BUTTON_DELETE_USERS %>" value="<%= ejbcawebbean.getText("DELETESELECTED") %>" onClick='return confirmdelete()'> <% } }catch(AuthorizationDeniedException ade){} %> </td> <td valign="top"> <%/* try{ if(ejbcawebbean.isAuthorizedNoLog(EjbcaWebBean.AUTHORIZED_RA_EDIT_RIGHTS)){ %> <input type="submit" name="<%=BUTTON_CHANGESTATUS %>" value="<%= ejbcawebbean.getText("CHANGESTATUSTO") %>" onClick='return confirm("<%= ejbcawebbean.getText("AREYOUSURECHANGE") %>")'><br> <select name="<%=SELECT_CHANGE_STATUS %>"> <option selected value='<%= Integer.toString(UserDataRemote.STATUS_NEW) %>'><%= ejbcawebbean.getText("STATUSNEW") %></option> <!-- <option value='<%= Integer.toString(UserDataRemote.STATUS_FAILED) %>'><%= ejbcawebbean.getText("STATUSFAILED") %></option> --> <!-- <option value='<%= Integer.toString(UserDataRemote.STATUS_INITIALIZED) %>'><%= ejbcawebbean.getText("STATUSINITIALIZED") %></option> --> <!-- <option value='<%= Integer.toString(UserDataRemote.STATUS_INPROCESS) %>'><%= ejbcawebbean.getText("STATUSINPROCESS") %></option> --> <option value='<%= Integer.toString(UserDataRemote.STATUS_GENERATED) %>'><%= ejbcawebbean.getText("STATUSGENERATED") %></option> <!-- <option value='<%= Integer.toString(UserDataRemote.STATUS_REVOKED) %>'><%= ejbcawebbean.getText("STATUSREVOKED") %></option> --> <option value='<%= Integer.toString(UserDataRemote.STATUS_HISTORICAL) %>'><%= ejbcawebbean.getText("STATUSHISTORICAL") %></option> </select> <% } }catch(AuthorizationDeniedException ade){} */%> </td> </tr> </table> <% } %> </form> <%// Include Footer String footurl = globalconfiguration.getFootBanner(); %> <jsp:include page="<%= footurl %>" /></body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -