net.cit.tetrad.dao.management.impl.LoginDaoImpl.java Source code

Java tutorial

Introduction

Here is the source code for net.cit.tetrad.dao.management.impl.LoginDaoImpl.java

Source

/**
*    Copyright (C) 2012 Cardinal Info.Tech.Co.,Ltd.
*
*    This program is free software: you can redistribute it and/or modify
*    it under the terms of the GNU Affero General Public License, version 3,
*    as published by the Free Software Foundation.
*
*    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 Affero General Public License for more details.
*
*    You should have received a copy of the GNU Affero General Public License
*    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
package net.cit.tetrad.dao.management.impl;

import org.springframework.data.mongodb.core.query.Query;

import net.cit.tetrad.dao.management.LoginDao;

import static net.cit.tetrad.utility.QueryUtils.*;

public class LoginDaoImpl implements LoginDao {

    /**
     * uid, passwd  
     */
    @Override
    public Query findUidPasswd(String uid, String passwd) throws Exception {
        Query query = new Query();
        query = setUidPasswd(uid, passwd);
        return query;
    }
}