diff options
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 { - -} |
