Revision 6628
Added by ben leinfelder about 13 years ago
src/edu/ucsb/nceas/metacat/replication/ReplicationServlet.java | ||
---|---|---|
117 | 117 |
|
118 | 118 |
try { |
119 | 119 |
// check if the server is included in the list of replicated servers |
120 |
server = ((String[]) params.get("server"))[0]; |
|
121 | 120 |
if (!action.equals("servercontrol") && !action.equals("stop") |
122 | 121 |
&& !action.equals("start") && !action.equals("getall")) { |
123 | 122 |
|
123 |
server = ((String[]) params.get("server"))[0]; |
|
124 |
|
|
124 | 125 |
// verify the client certificate on the request |
125 | 126 |
boolean isValid = false; |
126 | 127 |
String msg = "Client certificate is invalid"; |
Also available in: Unified diff
get server param only when it is expected