Commit 9a599f46 authored by ls1947's avatar ls1947
Browse files

accept any keys, that bouncey castle accepts

Don't show warning
parent 490ed56c
......@@ -137,12 +137,7 @@ public class UserSshKeyManagementBean implements Serializable {
keyList.add(key);
newKey = "";
newName = "";
if (key.getPublicKey() == null) {
messageGenerator.addResolvedWarningMessage("warning", "ssh_key_unknown_format", false);
}
else {
messageGenerator.addResolvedInfoMessage("info", "ssh_key_deployed", false);
}
messageGenerator.addResolvedInfoMessage("info", "ssh_key_deployed", false);
} catch (UnsupportedKeyTypeException e) {
logger.warn("An error occured whilst deploying key: " + e.getMessage());
messageGenerator.addResolvedErrorMessage("sshKeyMessage", "error_msg", e.toString(), false);
......
......@@ -104,14 +104,6 @@
</p:panelGrid>
<p:commandButton id="add" action="#{userSshKeyManagementBean.deployKey()}" value="#{messages.add}" update="@form" />
<p:ajaxStatus id="ajaxStatusPanel" style="display: inline-block; margin-left: 8px; vertical-align: baseline;">
<f:facet name="start">
<h:graphicImage value="#{resource['/img/ajax-loader.gif']}" alt="#{messages.loading}"/>
</f:facet>
<f:facet name="complete">
<h:outputText value="" />
</f:facet>
</p:ajaxStatus>
</p:dialog>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment