popupauthenticator.java

来自「反ajax原代码」· Java 代码 · 共 35 行

JAVA
35
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   PopupAuthenticator.java

package com.laoer.bbscs.sys.mail;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class PopupAuthenticator extends Authenticator
{

    String username;
    String password;

    public PopupAuthenticator()
    {
        username = null;
        password = null;
    }

    public PasswordAuthentication performCheck(String user, String pass)
    {
        username = user;
        password = pass;
        return getPasswordAuthentication();
    }

    protected PasswordAuthentication getPasswordAuthentication()
    {
        return new PasswordAuthentication(username, password);
    }
}

⌨️ 快捷键说明

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