[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pki-devel] [PATCH] 282 Reorganized PKIRealm class.



PKIRealm has been moved from pki-cmscore into pki-cms package because
it's needed by CMSStartServlet which is in the pki-cms package.

--
Endi S. Dewata
From 45e423ee91110407056b8c94ae5c3dd338f7700d Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Wed, 31 Jul 2013 17:33:00 -0400
Subject: [PATCH] Reorganized PKIRealm class.

PKIRealm has been moved from pki-cmscore into pki-cms package because
it's needed by CMSStartServlet which is in the pki-cms package.
---
 base/common/src/com/netscape/{cmscore => cms}/realm/PKIRealm.java  | 3 ++-
 base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
 rename base/common/src/com/netscape/{cmscore => cms}/realm/PKIRealm.java (98%)

diff --git a/base/common/src/com/netscape/cmscore/realm/PKIRealm.java b/base/common/src/com/netscape/cms/realm/PKIRealm.java
similarity index 98%
rename from base/common/src/com/netscape/cmscore/realm/PKIRealm.java
rename to base/common/src/com/netscape/cms/realm/PKIRealm.java
index 5e9ae4116ba707e6bbdb05b668e6a235e7b2748e..f1523452764b55fcf3301b94b3f17e83b8a28de1 100644
--- a/base/common/src/com/netscape/cmscore/realm/PKIRealm.java
+++ b/base/common/src/com/netscape/cms/realm/PKIRealm.java
@@ -1,4 +1,4 @@
-package com.netscape.cmscore.realm;
+package com.netscape.cms.realm;
 
 import java.security.Principal;
 import java.security.cert.X509Certificate;
@@ -21,6 +21,7 @@ import com.netscape.certsrv.usrgrp.IUser;
 import com.netscape.cms.servlet.common.AuthCredentials;
 import com.netscape.cmscore.authentication.CertUserDBAuthentication;
 import com.netscape.cmscore.authentication.PasswdUserDBAuthentication;
+import com.netscape.cmscore.realm.PKIPrincipal;
 
 /**
  *  PKI Realm
diff --git a/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java b/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java
index e00f2bdba2417d889276b22049f779ecd572fb9d..8e3a4b5bab442184e8f2c4372b635db13652793e 100644
--- a/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java
@@ -29,8 +29,8 @@ import javax.servlet.http.HttpServletResponse;
 
 import com.netscape.certsrv.apps.CMS;
 import com.netscape.certsrv.base.EBaseException;
+import com.netscape.cms.realm.PKIRealm;
 import com.netscape.cms.tomcat.ProxyRealm;
-import com.netscape.cmscore.realm.PKIRealm;
 import com.netscape.cmsutil.util.Utils;
 
 /**
-- 
1.8.1.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]