diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2015-02-26 22:36:23 -0500 |
|---|---|---|
| committer | Fraser Tweedale <ftweedal@redhat.com> | 2015-04-16 20:08:13 -0400 |
| commit | f1f11cd1b2b4dfa0a99cbd47953af0fce4e7ec6c (patch) | |
| tree | 4c95845f9109845506d09f3cf803042eae45efc6 /base/server/cms/src/com | |
| parent | 8f27c437a2d2c5d72b53cfa8f379a23fa05c76c3 (diff) | |
| download | pki-f1f11cd1b2b4dfa0a99cbd47953af0fce4e7ec6c.tar.gz pki-f1f11cd1b2b4dfa0a99cbd47953af0fce4e7ec6c.tar.xz pki-f1f11cd1b2b4dfa0a99cbd47953af0fce4e7ec6c.zip | |
Remove unneeded class EnrollProfileContext
Diffstat (limited to 'base/server/cms/src/com')
| -rw-r--r-- | base/server/cms/src/com/netscape/cms/profile/common/EnrollProfile.java | 6 | ||||
| -rw-r--r-- | base/server/cms/src/com/netscape/cms/profile/common/EnrollProfileContext.java | 31 |
2 files changed, 2 insertions, 35 deletions
diff --git a/base/server/cms/src/com/netscape/cms/profile/common/EnrollProfile.java b/base/server/cms/src/com/netscape/cms/profile/common/EnrollProfile.java index 6f803ee94..fe3b424a4 100644 --- a/base/server/cms/src/com/netscape/cms/profile/common/EnrollProfile.java +++ b/base/server/cms/src/com/netscape/cms/profile/common/EnrollProfile.java @@ -127,16 +127,14 @@ public abstract class EnrollProfile extends BasicProfile } public IProfileContext createContext() { - return new EnrollProfileContext(); + return new ProfileContext(); } /** * Creates request. */ - public IRequest[] createRequests(IProfileContext context, Locale locale) + public IRequest[] createRequests(IProfileContext ctx, Locale locale) throws EProfileException { - EnrollProfileContext ctx = (EnrollProfileContext) context; - // determine how many requests should be created String cert_request_type = ctx.get(CTX_CERT_REQUEST_TYPE); String cert_request = ctx.get(CTX_CERT_REQUEST); diff --git a/base/server/cms/src/com/netscape/cms/profile/common/EnrollProfileContext.java b/base/server/cms/src/com/netscape/cms/profile/common/EnrollProfileContext.java deleted file mode 100644 index 444024b94..000000000 --- a/base/server/cms/src/com/netscape/cms/profile/common/EnrollProfileContext.java +++ /dev/null @@ -1,31 +0,0 @@ -// --- BEGIN COPYRIGHT BLOCK --- -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; version 2 of the License. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this program; if not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -// -// (C) 2007 Red Hat, Inc. -// All rights reserved. -// --- END COPYRIGHT BLOCK --- -package com.netscape.cms.profile.common; - -import com.netscape.certsrv.profile.IProfileContext; - -/** - * This class implements an enrollment profile context - * that carries information for request creation. - * - * @version $Revision$, $Date$ - */ -public class EnrollProfileContext extends ProfileContext - implements IProfileContext { - -} |
