⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crauthenticator.java

📁 这是个JAVA开发的WEB邮箱
💻 JAVA
字号:
/* $Id: CRAuthenticator.java,v 1.1 2000/12/30 12:12:02 wastl Exp $ */package org.webengruven.webmail.auth;import net.wastl.webmail.server.*;import net.wastl.webmail.exceptions.*;/** * CRAuthenticator.java * * This is the base class for all Authenticators which implement challenge  * response authentication.  As a general rule most parts of Webmail won't  * care if if an authenticator is a child of the class Authenticator, or a  * child of CRAuthenticator, however, there are a few extra methods needed  * for challenge response.   *  * Also worth noting, this used to be the name of concrete authenticator.  I  * decided that it was okay to reuse the name here because: *  1) it was only a test authenticator *  2) I really couldn't think of a better name. * * Created: Mon Jul 15 20:25 * Recreated: Sun Sep 24 2000 * * 08/11/2000 Sebastian Schaffert: Modified to fit into WebMail 0.7.2 * - added import net.wastl.webmail.exceptions.*; * * * @author Devin Kowatch * @version $Revision: 1.1 $ * @see webmail.server.UserData *  * Copyright (C) 2000 Devin Kowatch *//* This program is free software; you can redistribute it and/or * modify it under the terms of the Lesser GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. *  * 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 * Lesser GNU General Public License for more details. *  * You should have received a copy of the Lesser GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, * USA. */public abstract class CRAuthenticator extends Authenticator {        /* dummy c'tor */    public CRAuthenticator() { }        /** Return an AuthDisplayMngr to use for display*/    public AuthDisplayMngr getAuthDisplayMngr() {        return new CRAuthDisplayMngr(this);    }    /** Get the challenge for this authentication.  This will get passed some      * user data and should return the approriate challenge string for that      * user.     */    public abstract String getChallenge(UserData ud) throws WebMailException; } // CRAuthenticator

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -