public boolean checkAccess(Administrador admin){
        try {
            PreparedStatement ps =
                    this.mycon.prepareStatement("SELECT * FROM Administradores WHERE userName=? AND passwd=?");
            ps.setString(1, admin.getNombre());
            ps.setString(2, admin.getPassword());
            ResultSet rs = ps.executeQuery();
            return rs.next();
        } catch (SQLException ex) {
            Logger.getLogger(AdministradorCRUD.class.getName()).log(Level.SEVERE, null, ex);
        }
        return false;
    }