?? endentityprofilepage.jsp
字號:
</td> <td width="25%" align="right"> <%= ejbcawebbean.getText("DEFAULTCA") %> <br> </td> <td width="70%"> <select name="<%=SELECT_DEFAULTCA %>" size="1" > <% iter = authorizedcas.iterator(); while(iter.hasNext()){ Integer caid = (Integer) iter.next(); %> <option <% if(profiledata.getValue(EndEntityProfile.DEFAULTCA ,0) != null) if(profiledata.getValue(EndEntityProfile.DEFAULTCA ,0).equals(caid.toString())) out.write(" selected "); %> value='<%= caid.toString() %>'><%= caidtonamemap.get(caid) %> </option> <% } %> </select> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("AVAILABLECAS") %> <br> </td> <td width="70%"> <select name="<%=SELECT_AVAILABLECAS %>" size="7" multiple > <% String[] availablecas = profiledata.getValue(EndEntityProfile.AVAILCAS, 0).split(EndEntityProfile.SPLITCHAR); iter = authorizedcas.iterator(); while(iter.hasNext()){ Integer caid = (Integer) iter.next(); %> <option <% for(int j=0;j< availablecas.length;j++){ if(availablecas[j].equals(caid.toString())) out.write(" selected "); }%> value='<%= caid.toString()%>'><%= caidtonamemap.get(caid) %> </option> <% } %> </select> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("DEFAULTTOKEN") %> <br> </td> <td width="70%"> <select name="<%=SELECT_DEFAULTTOKENTYPE %>" size="1" > <% for(int i=0; i < tokentexts.length;i++){ %> <option <% if(profiledata.getValue(EndEntityProfile.DEFKEYSTORE ,0) != null) if(profiledata.getValue(EndEntityProfile.DEFKEYSTORE ,0).equals(Integer.toString(tokenids[i]))) out.write(" selected "); %> value='<%= tokenids[i] %>'><% if(tokenids[i] <= SecConst.TOKEN_SOFT) out.write(ejbcawebbean.getText(tokentexts[i])); else out.write(tokentexts[i]);%> </option> <% } %> </select> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("AVAILABLETOKENS") %> <br> </td> <td width="70%"> <select name="<%=SELECT_AVAILABLETOKENTYPES %>" size="7" multiple > <% String[] profileavailabletokens = profiledata.getValue(EndEntityProfile.AVAILKEYSTORE, 0).split(EndEntityProfile.SPLITCHAR); for(int i=0; i < tokentexts.length;i++){ %> <option <% for(int j=0;j< profileavailabletokens.length;j++){ if(profileavailabletokens[j].equals(Integer.toString(tokenids[i]))) out.write(" selected "); }%> value='<%= tokenids[i]%>'><% if(tokenids[i] <= SecConst.TOKEN_SOFT) out.write(ejbcawebbean.getText(tokentexts[i])); else out.write(tokentexts[i]);%> </option> <% } %> </select> </td> </tr> <% if(globalconfiguration.getIssueHardwareTokens()){ %> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("USEHARDTOKENISSUERS") %> <br> </td> <td width="70%"> <% used = profiledata.getUse(EndEntityProfile.AVAILTOKENISSUER,0); %> <input type="checkbox" name="<%=CHECKBOX_USE_HARDTOKENISSUERS %>" value="<%=CHECKBOX_VALUE %>" onclick="checkusehardtokenissuers()" <% if(used) out.write("CHECKED"); %>> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("DEFAULTHARDTOKENISSUER") %> <br> </td> <td width="70%"> <select name="<%=SELECT_DEFAULTHARDTOKENISSUER %>" size="1" <% if(!used) out.write(" disabled "); %>> <% for(int i=0; i < hardtokenissueraliases.length;i++){ %> <option <% if(profiledata.getValue(EndEntityProfile.DEFAULTTOKENISSUER ,0) != null) if(profiledata.getValue(EndEntityProfile.DEFAULTTOKENISSUER ,0).equals(Integer.toString(hardtokenissuerids[i]))) out.write(" selected "); %> value='<%= hardtokenissuerids[i] %>'><%= hardtokenissueraliases[i] %> </option> <% } %> </select> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("AVAILABLEHARDTOKENISSUERS") %> <br> </td> <td width="70%"> <select name="<%=SELECT_AVAILABLEHARDTOKENISSUERS %>" size="7" multiple <% if(!used) out.write(" disabled "); %>> <% String[] availableissuers = profiledata.getValue(EndEntityProfile.AVAILTOKENISSUER, 0).split(EndEntityProfile.SPLITCHAR); for(int i=0; i < hardtokenissueraliases.length;i++){ %> <option <% for(int j=0;j< availableissuers.length;j++){ if(availableissuers[j].equals(Integer.toString(hardtokenissuerids[i]))) out.write(" selected "); }%> value='<%= hardtokenissuerids[i]%>'><%= hardtokenissueraliases[i]%> </option> <% } %> </select> </td> </tr> <% } %> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" valign="top" align="right"><%= ejbcawebbean.getText("TYPES") %></td> <td width="70%" valign="top" align="right"> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("ADMINISTRATOR") %> <br> </td> <td width="70%"> <% used = profiledata.getUse(EndEntityProfile.ADMINISTRATOR,0); %> <%= ejbcawebbean.getText("USE") %> <input type="checkbox" name="<%=CHECKBOX_USE_ADMINISTRATOR %>" value="<%=CHECKBOX_VALUE %>" onclick="checkusecheckbox('<%=CHECKBOX_USE_ADMINISTRATOR %>', '<%=CHECKBOX_ADMINISTRATOR%>', '<%=CHECKBOX_REQUIRED_ADMINISTRATOR %>')" <% if(used) out.write("CHECKED"); %>><br> <%= ejbcawebbean.getText("DEFAULT") %> <input type="checkbox" name="<%=CHECKBOX_ADMINISTRATOR%>" value="<%=CHECKBOX_VALUE %>" <% if(!used) out.write(" disabled "); %> <% if(profiledata.getValue(EndEntityProfile.ADMINISTRATOR,0) != null && used) if(profiledata.getValue(EndEntityProfile.ADMINISTRATOR,0).equals(EndEntityProfile.TRUE)) out.write("CHECKED"); %>> <%= ejbcawebbean.getText("REQUIRED") %> <input type="checkbox" name="<%=CHECKBOX_REQUIRED_ADMINISTRATOR%>" value="<%=CHECKBOX_VALUE %>" <% if(!used) out.write(" disabled "); %> <% if(profiledata.isRequired(EndEntityProfile.ADMINISTRATOR,0) && used) out.write("CHECKED"); %>> </td> </tr><% if(globalconfiguration.getEnableKeyRecovery()){ %> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("KEYRECOVERABLE") %> <br> </td> <td width="70%"> <% used = profiledata.getUse(EndEntityProfile.KEYRECOVERABLE,0); %> <%= ejbcawebbean.getText("USE") %> <input type="checkbox" name="<%=CHECKBOX_USE_KEYRECOVERABLE %>" value="<%=CHECKBOX_VALUE %>" onclick="checkusecheckbox('<%=CHECKBOX_USE_KEYRECOVERABLE %>', '<%=CHECKBOX_KEYRECOVERABLE%>', '<%=CHECKBOX_REQUIRED_KEYRECOVERABLE %>')" <% if(used) out.write("CHECKED"); %>><br> <%= ejbcawebbean.getText("DEFAULT") %> <input type="checkbox" name="<%=CHECKBOX_KEYRECOVERABLE%>" value="<%=CHECKBOX_VALUE %>" <% if(!used) out.write(" disabled "); %> <% if(profiledata.getValue(EndEntityProfile.KEYRECOVERABLE,0) != null && used) if(profiledata.getValue(EndEntityProfile.KEYRECOVERABLE,0).equals(EndEntityProfile.TRUE)) out.write("CHECKED"); %>> <%= ejbcawebbean.getText("REQUIRED") %> <input type="checkbox" name="<%=CHECKBOX_REQUIRED_KEYRECOVERABLE%>" value="<%=CHECKBOX_VALUE %>" <% if(!used) out.write(" disabled "); %> <% if(profiledata.isRequired(EndEntityProfile.KEYRECOVERABLE,0) && used) out.write("CHECKED"); %>> </td> </tr> <% } %> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("SENDNOTIFICATION") %> <br> </td> <td width="70%"> <% used = profiledata.getUse(EndEntityProfile.SENDNOTIFICATION,0); %> <%= ejbcawebbean.getText("USE") %> <input type="checkbox" name="<%=CHECKBOX_USE_SENDNOTIFICATION %>" value="<%=CHECKBOX_VALUE %>" onclick="checkusecheckbox('<%=CHECKBOX_USE_SENDNOTIFICATION %>', '<%=CHECKBOX_SENDNOTIFICATION%>', '<%=CHECKBOX_REQUIRED_SENDNOTIFICATION %>'); checkuseemailfield();usenotificationchange()" <% if(used) out.write("CHECKED"); %>> <br> <%= ejbcawebbean.getText("DEFAULT") %> <input type="checkbox" name="<%=CHECKBOX_SENDNOTIFICATION%>" value="<%=CHECKBOX_VALUE %>" <% if(!used) out.write(" disabled "); %> <% if(profiledata.getValue(EndEntityProfile.SENDNOTIFICATION,0) != null && used) if(profiledata.getValue(EndEntityProfile.SENDNOTIFICATION,0).equals(EndEntityProfile.TRUE)) out.write("CHECKED"); %>> <%= ejbcawebbean.getText("REQUIRED") %> <input type="checkbox" name="<%=CHECKBOX_REQUIRED_SENDNOTIFICATION%>" value="<%=CHECKBOX_VALUE %>" <% if(!used) out.write(" disabled "); %> <% if(profiledata.isRequired(EndEntityProfile.SENDNOTIFICATION,0) && used) out.write("CHECKED"); %>> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("NOTIFICATIONSENDER") %><br>(<%= ejbcawebbean.getText("EMAILADDRESS") %>) </td> <td width="70%"> <% used = profiledata.getUse(EndEntityProfile.SENDNOTIFICATION,0); %> <input type="text" name="<%=TEXTFIELD_NOTIFICATIONSENDER%>" size="40" maxlength="1024" value="<%= profiledata.getNotificationSender() %>" <% if(!used) out.write(" disabled "); %>> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("NOTIFICATIONSUBJECT") %> <br> </td> <td width="70%"> <input type="text" name="<%=TEXTFIELD_NOTIFICATIONSUBJECT%>" size="40" maxlength="1024" value="<%= profiledata.getNotificationSubject() %>" <% if(!used) out.write(" disabled "); %>> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <%= ejbcawebbean.getText("NOTIFICATIONMESSAGE") %> <br> </td> <td width="70%"> <textarea name="<%=TEXTAREA_NOTIFICATIONMESSAGE%>" cols=40 rows=8 <% if(!used) out.write(" disabled ");%>><%= profiledata.getNotificationMessage()%></textarea> </td> </tr> <tr id="Row<%=row++%2%>"> <td width="5%" valign="top"> </td> <td width="25%" align="right"> <td width="70%" valign="top"> <input type="submit" name="<%= BUTTON_SAVE %>" onClick='return checkallfields()' value="<%= ejbcawebbean.getText("SAVE") %>" > <input type="submit" name="<%= BUTTON_CANCEL %>" value="<%= ejbcawebbean.getText("CANCEL") %>"> </td> </tr> </table> </form>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -