Revision 5027
Added by daigle over 14 years ago
AuthAdmin.java | ||
---|---|---|
52 | 52 |
* Control the display of the Authentication configuration page and the processing |
53 | 53 |
* of the configuration values. |
54 | 54 |
*/ |
55 |
public class AuthAdmin extends MetaCatAdmin {
|
|
55 |
public class AuthAdmin extends MetacatAdmin {
|
|
56 | 56 |
|
57 | 57 |
private static AuthAdmin authAdmin = null; |
58 | 58 |
private static Logger logMetacat = Logger.getLogger(AuthAdmin.class); |
... | ... | |
132 | 132 |
} |
133 | 133 |
// Forward the request to the JSP page |
134 | 134 |
RequestUtil.forwardRequest(request, response, |
135 |
"/admin/auth-configuration.jsp"); |
|
135 |
"/admin/auth-configuration.jsp", null);
|
|
136 | 136 |
} catch (PropertyNotFoundException pnfe) { |
137 | 137 |
throw new AdminException("Problem getting property while initializing " |
138 | 138 |
+ "LDAP properties page: " + pnfe.getMessage()); |
... | ... | |
214 | 214 |
RequestUtil.clearRequestMessages(request); |
215 | 215 |
RequestUtil.setRequestFormErrors(request, validationErrors); |
216 | 216 |
RequestUtil.setRequestErrors(request, processingErrors); |
217 |
RequestUtil.forwardRequest(request, response, "/admin"); |
|
217 |
RequestUtil.forwardRequest(request, response, "/admin", null);
|
|
218 | 218 |
} else { |
219 | 219 |
// Now that the options have been set, change the |
220 | 220 |
// 'authConfigured' option to 'true' |
... | ... | |
226 | 226 |
RequestUtil.clearRequestMessages(request); |
227 | 227 |
RequestUtil.setRequestSuccess(request, processingSuccess); |
228 | 228 |
RequestUtil.forwardRequest(request, response, |
229 |
"/admin?configureType=configure&processForm=false"); |
|
229 |
"/admin?configureType=configure&processForm=false", null);
|
|
230 | 230 |
} |
231 | 231 |
} catch (ServletException se) { |
232 | 232 |
throw new AdminException("problem forwarding request while " |
Also available in: Unified diff
Change MetaCatVersion to MetacatVersion