GERONIMO-6196 Disable some functions when keystore is locked, for trunk

git-svn-id: https://svn.apache.org/repos/asf/geronimo/server/trunk@1341763 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/keystore/certificateDetails.jsp b/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/keystore/certificateDetails.jsp
index c157215..1f5835c 100644
--- a/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/keystore/certificateDetails.jsp
+++ b/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/keystore/certificateDetails.jsp
@@ -59,6 +59,12 @@
 <fmt:message key="keystore.certificateDetails.changeKeyPwd"/></a></td>
 </c:if>
 
+<c:if test="${(keyLocked)}">
+<td><u><fmt:message key="keystore.certificateDetails.generateCSR"/></u></td>
+<td><u><fmt:message key="keystore.certificateDetails.importCAReply"/></u></td>
+<td><u><fmt:message key="keystore.certificateDetails.changeKeyPwd"/></u></td>
+</c:if>
+
 <td>
 <a href="<portlet:actionURL portletMode="view">
 <portlet:param name="mode" value="deleteEntry-before" />