jdbcrecord.java

来自「piweurrrrq i o fhsadhfka fd dskajc zxkjc」· Java 代码 · 共 30 行

JAVA
30
字号
/*
 * Jdbc Authentication Module:
 * By Wayne Hogue <w.hogue@chiphead.net>
 * Last Updated: 04.02.2000 
 * Based on 
 * Mysql Authentication Module:
 * com.lyrisoft.auth.mysql
 * By Leif Jackson <ljackson@jjcons.com>
 */

package com.lyrisoft.chat.server.remote.auth.jdbc;

/**
 * Represents a SQL record.  All fields are public
 */
public class JdbcRecord {
    public String userId;
    public String passwd;
    public int access;

    /**
     * Constructor for convenience
     */
    public JdbcRecord(String userId, int access, String password) {
        this.userId = userId;
        this.access = access;
        this.passwd = password;
    }
}

⌨️ 快捷键说明

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