KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > geronimo > console > ca > CertificationAuthorityPortlet


1 /**
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one or more
4  * contributor license agreements. See the NOTICE file distributed with
5  * this work for additional information regarding copyright ownership.
6  * The ASF licenses this file to You under the Apache License, Version 2.0
7  * (the "License"); you may not use this file except in compliance with
8  * the License. You may obtain a copy of the License at
9  *
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  */

18 package org.apache.geronimo.console.ca;
19
20 import javax.portlet.PortletConfig;
21 import javax.portlet.PortletException;
22 import javax.portlet.PortletRequest;
23
24 import org.apache.geronimo.console.MultiPageModel;
25 import org.apache.geronimo.console.MultiPagePortlet;
26
27 /**
28  * A portlet for Certification Authority.
29  *
30  * @version $Rev: 476291 $ $Date: 2006-11-17 15:05:24 -0500 (Fri, 17 Nov 2006) $
31  */

32 public class CertificationAuthorityPortlet extends MultiPagePortlet {
33     public void init(PortletConfig config) throws PortletException {
34         super.init(config);
35         addHelper(new IntroHandler(), config);
36         addHelper(new SetupCAHandler(), config);
37         addHelper(new ConfirmCAHandler(), config);
38         addHelper(new CADetailsHandler(), config);
39         addHelper(new UnlockCAHandler(), config);
40         addHelper(new ProcessCSRHandler(), config);
41         addHelper(new CertReqDetailsHandler(), config);
42         addHelper(new ConfirmClientCertHandler(), config);
43         addHelper(new ViewCertificateHandler(), config);
44         addHelper(new ListRequestsIssueHandler(), config);
45         addHelper(new ListRequestsVerifyHandler(), config);
46         addHelper(new ConfirmCertReqHandler(), config);
47     }
48
49     protected String JavaDoc getModelJSPVariableName() {
50         return "model";
51     }
52
53     protected MultiPageModel getModel(PortletRequest request) {
54         return new BaseCAHandler.CAModel(request);
55     }
56 }
57
Popular Tags