01: /**
02: *
03: * Licensed to the Apache Software Foundation (ASF) under one or more
04: * contributor license agreements. See the NOTICE file distributed with
05: * this work for additional information regarding copyright ownership.
06: * The ASF licenses this file to You under the Apache License, Version 2.0
07: * (the "License"); you may not use this file except in compliance with
08: * the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */package org.apache.geronimo.console.ca;
18:
19: import javax.portlet.PortletConfig;
20: import javax.portlet.PortletException;
21: import javax.portlet.PortletRequest;
22:
23: import org.apache.geronimo.console.MultiPageModel;
24: import org.apache.geronimo.console.MultiPagePortlet;
25:
26: /**
27: * A portlet for Certification Authority.
28: *
29: * @version $Rev: 514091 $ $Date: 2007-03-02 22:26:39 -0800 (Fri, 02 Mar 2007) $
30: */
31: public class CertificationAuthorityPortlet extends MultiPagePortlet {
32: public void init(PortletConfig config) throws PortletException {
33: super .init(config);
34: addHelper(new IntroHandler(), config);
35: addHelper(new SetupCAHandler(), config);
36: addHelper(new ConfirmCAHandler(), config);
37: addHelper(new CADetailsHandler(), config);
38: addHelper(new UnlockCAHandler(), config);
39: addHelper(new ProcessCSRHandler(), config);
40: addHelper(new CertReqDetailsHandler(), config);
41: addHelper(new ConfirmClientCertHandler(), config);
42: addHelper(new ViewCertificateHandler(), config);
43: addHelper(new ListRequestsIssueHandler(), config);
44: addHelper(new ListRequestsVerifyHandler(), config);
45: addHelper(new ConfirmCertReqHandler(), config);
46: }
47:
48: protected String getModelJSPVariableName() {
49: return "model";
50: }
51:
52: protected MultiPageModel getModel(PortletRequest request) {
53: return new BaseCAHandler.CAModel(request);
54: }
55: }
|